rdclark/json-antlr — pull request #3 by OEP (2012-07-02 19:56:32+00:00)
Title: No support for empty JSON array

This ANTLR grammar does not support empty JSON arrays but it is allowed per section 2.3 of the JSON RFC:

http://www.ietf.org/rfc/rfc4627.txt

Attached is the test case I was hoping to satisfy. A NoViableAltException is thrown causing the test case to fail.

I would also attach a modification to the grammar to fix this but my ANTLR skills are not so good and I could not get the modification to work. :(