Closed ghost closed 8 years ago
Hi Patrick, thank you for the feedback. However, I won't be correcting that. The parser serves as a proof-of-concept implementation for an article on InfoQ in Dec. 2013. That's almost 2 years back. A lot has happened to JSON parsers in the mean time.
If you need the array support, fork-and-fix :-)
Ok, thank's a lot for your interest.
In parse() method you assert that the json stream to parse is always an object, but the specification of the format says that json stream can be an array or an object.