We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a41063 commit 1c4abf6Copy full SHA for 1c4abf6
src/Writer.php
@@ -23,7 +23,7 @@ class Writer
23
* @param int $flags json_encode() flags
24
* @return string JSON string.
25
*/
26
- 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
27
{
28
return json_encode($object->getSerializableData(), $flags);
29
}
0 commit comments