Skip to content

Commit 2227ef6

Browse files
authored
updat as per pull request
updat as per pull request
1 parent adf2dc2 commit 2227ef6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Format/JSONFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class JSONFormatter implements FormatterInterface
5656
*/
5757
public function format($data)
5858
{
59-
$options = $config->formatterOptions['application/json'] ?? 0;
59+
$options = $config->formatterOptions['application/json'] ?? JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES;
6060
$options = $options | JSON_PARTIAL_OUTPUT_ON_ERROR ;
6161

6262
$options = ENVIRONMENT === 'production' ? $options : $options | JSON_PRETTY_PRINT;

0 commit comments

Comments
 (0)