timo / json_fast

a naive imperative json parser in perl6, to evaluate performance against JSON::Tiny
Artistic License 2.0
26 stars 20 forks source link

JSON::Fast can't roundtrip #67

Closed AlexDaniel closed 4 years ago

AlexDaniel commented 4 years ago

Try saving data (to-json) with a string like this:

Z͑ͫ̓ͪ̂ͫ̽͏̴̙̤̞͉͚̯̞̠͍A̴̵̜̰͔ͫ͗͢L̠ͨͧͩ͘G̴̻͈͍͔̹̑͗̎̅͛́Ǫ̵̹̻̝̳͂̌̌͘

And then reading it back (from-json).

You'll get:

Couldn't decode hexadecimal unicode escape \uD83D\uDC69‍
AlexDaniel commented 4 years ago

I think it was fixed and this module just needs a new CPAN release.