hockeyhurd / rson

A simple JSON library for the Rust programming language.
Apache License 2.0
0 stars 0 forks source link

Unicode and Some Escape Characters Throw an Error #18

Closed hockeyhurd closed 2 weeks ago

hockeyhurd commented 2 weeks ago

While adding new regression tests, I noticed this test case that was auto-generated by ChatGPT would fail. The input it's failing on are the first and last key's value since it contains things like unicode and '\n' characters.

{ "newline": "Line1\nLine2", "quote": "\"Quoted Text\"", "backslash": "Backslash \\", "unicode": "\u2764" }

hockeyhurd commented 2 weeks ago

PR Issue #19 will partially resolve this issue. Unicode errors are still problematic.