class JsonFileDumper extends FileDumper
JsonFileDumper generates an json formatted string representation of a message catalogue.
| protected string | $relativePathTemplate | A template for the relative paths to files. | from FileDumper | 
|  setRelativePathTemplate(string $relativePathTemplate)  Sets the template for the relative paths to files.  |  from FileDumper | |
|  setBackup(bool $backup) deprecated  Sets backup flag.  |  from FileDumper | |
|  dump(MessageCatalogue $messages, array $options = array())  Dumps the message catalogue.  |  from FileDumper | |
| string |  formatCatalogue(MessageCatalogue $messages, string $domain, array $options = array())  Transforms a domain of a message catalogue to its string representation.  |  |
| string |  getExtension()  Gets the file extension of the dumper.  |  
Sets the template for the relative paths to files.
| string | $relativePathTemplate | A template for the relative paths to files | 
deprecated
Sets backup flag.
| bool | $backup | 
Dumps the message catalogue.
| MessageCatalogue | $messages | The message catalogue | 
| array | $options | Options that are used by the dumper | 
Transforms a domain of a message catalogue to its string representation.
| MessageCatalogue | $messages | |
| string | $domain | |
| array | $options | 
| string | representation | 
Gets the file extension of the dumper.
| string | file extension | 
    © 2004–2017 Fabien Potencier
Licensed under the MIT License.
    https://api.symfony.com/4.1/Symfony/Component/Translation/Dumper/JsonFileDumper.html