Skip to content

Commit

Permalink
Update src/Writer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
cebe committed Apr 20, 2022
1 parent 2a41063 commit 1c4abf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Writer.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Writer
* @param int $flags json_encode() flags
* @return string JSON string.
*/
public static function writeToJson(SpecObjectInterface $object, int $flags = JSON_PRETTY_PRINT): string
public static function writeToJson(SpecObjectInterface $object, int $flags = JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE): string
{
return json_encode($object->getSerializableData(), $flags);
}
Expand Down

0 comments on commit 1c4abf6

Please sign in to comment.