Open
Description
I was looking at
http://code.google.com/p/json-simple/source/browse/trunk/doc/json.lex
It seems to have a few problems.
-0 is parsed using Long.valueOf which loses the sign bit.
0123 is treated as a valid number despite the JSON grammar specifically disallowing leading
zeroes.
http://code.google.com/p/prebake/source/browse/trunk/src/org/prebake/js/json_gra
mmar.lex
addresses that problem and makes sure that
nulltrue
does not lex as the tokens
["null", "true"]
Original issue reported on code.google.com by mikesamuel@gmail.com
on 16 Apr 2010 at 8:24