cebe / php-openapi

Read and write OpenAPI yaml/json files and make the content accessible in PHP objects.
MIT License
464 stars 87 forks source link

Flags for json_encode() in \cebe\openapi\Writer::writeToJson() #160

Closed ValikoDorodnov closed 2 years ago

ValikoDorodnov commented 2 years ago

Added opportunity for use additional flags for json_encode() function in \cebe\openapi\Writer::writeToJson(). Example JSON_UNESCAPED_UNICODE for non-latin chars.

cebe commented 2 years ago

Thank you!