Definition at line 6 of file Prettyjson.php.
◆ getDescription()
static Gettext\Languages\Exporter\Prettyjson::getDescription |
( |
| ) |
|
|
static |
◆ getEncodeOptions()
static Gettext\Languages\Exporter\Prettyjson::getEncodeOptions |
( |
| ) |
|
|
staticprotected |
- See also
- Json::getEncodeOptions
Reimplemented from Gettext\Languages\Exporter\Json.
Definition at line 11 of file Prettyjson.php.
12 {
13 if (!(defined('\JSON_PRETTY_PRINT') && defined('\JSON_UNESCAPED_SLASHES') && defined('\JSON_UNESCAPED_UNICODE'))) {
14 throw new Exception('PHP 5.4 or later is required to export uncompressed JSON');
15 }
16 return \JSON_PRETTY_PRINT | \JSON_UNESCAPED_SLASHES | \JSON_UNESCAPED_UNICODE;
17 }
The documentation for this class was generated from the following file: