protected function put(string $file, array $translations)
    {
        $this->files->put($file, json_encode($translations, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_FORCE_OBJECT));
    }
protected function put(string $file, array $translations)
    {
        $this->files->put($file, json_encode($translations, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_FORCE_OBJECT));
    }
protected function put ( string $ file , array $ translations ) { $ this -> files -> put ( $ file , json_encode ( $ translations , JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_FORCE_OBJECT ) ) ; }
Update the json file with new object.
Update the json file with new object .