Skip to content

Commit 1c4abf6

Browse files
authored
Update src/Writer.php
1 parent 2a41063 commit 1c4abf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Writer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Writer
2323
* @param int $flags json_encode() flags
2424
* @return string JSON string.
2525
*/
26-
public static function writeToJson(SpecObjectInterface $object, int $flags = JSON_PRETTY_PRINT): string
26+
public static function writeToJson(SpecObjectInterface $object, int $flags = JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE): string
2727
{
2828
return json_encode($object->getSerializableData(), $flags);
2929
}

0 commit comments

Comments
 (0)