TJSON
TJSON copied to clipboard
The tolerant JSON parser for Haxe
``` JSON Data on line 175: Expected ':' but got 'lime"' instead. Main.hx:63 Uncaught JSON Data on line 175: Expected ':' but got 'lime"' instead. TJSON.hx:33 ``` ``` json "Missing...
It would be really cool if you could parse a config file at compile time and get autocompletion directly from the json file. It's possible to do this using macros....
Looks like TJSON also cannot parse unicode as described here (http://tools.ietf.org/html/rfc4627), section 2.5. The error is: ``` Error : JSON Data on line 1: Invalid escape sequence '\u' ```
fixes the `Can't cast i32/f64/bool to String` errors quite simple