G33kDude / cJson.ahk

AutoHotkey JSON library using embedded C for high performance
https://www.autohotkey.com/boards/viewtopic.php?f=6&p=408453
MIT License
80 stars 8 forks source link

Unnecessary escaping of strings #8

Closed l-noesis closed 11 months ago

l-noesis commented 1 year ago

According to RFC4627[ https://www.rfc-editor.org/rfc/rfc4627#section-2.5 ], strings do not need escaping except for some prohibited characters. However, cjson.ahk seems to escape all characters except US-ASCII. This replaces my native language with numbers and eliminates the readability and versatility of JSON. If you feel up to it, I would appreciate it if you could create a switch to work around this.

G33kDude commented 11 months ago

This has been supported since January 2022: 9b01c6e384e4855637cf17893b3c4feefb94afe7