raku-community-modules / JSON-Pretty

A minimal JSON (de)serializer that produces easily readable JSON
Artistic License 2.0
1 stars 2 forks source link

option to preserve utf-8 #9

Open coke opened 4 years ago

coke commented 4 years ago

I have some strings with UTF-8 in them; round tripping them through this module converts them to the escaped value.

It would be nice if there was an optional flag to "to-json" that generated UTF8 output instead of escaped.

lizmat commented 12 months ago

The module has moved to community modules, and I just released a new version depending on the latest JSON::Fast, which solved at least on TODO in its tests.

Please close this issue if this is now being handled ok, or provide additional information of the problem, or provide a PR :-)