Arc Forumnew | comments | leaders | submitlogin
JSON lib fixed to correctly encode control characters
1 point by CatDancer 6026 days ago | discuss
v0 of my JSON library had a bug where Arc strings containing control characters such as a newline would be encoded as a JSON string with the control characters left unchanged; this was both incorrect in respect to the JSON standard and would cause an error when loaded into JavaScript.

v1 fixes the bug and correctly encodes the control characters.

http://catdancer.github.com/json.html