mathewdenis / json-smart

Automatically exported from code.google.com/p/json-smart
0 stars 0 forks source link

invalid json gets parsed successfully in JSONParser.MODE_RFC4627 #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
version used: 1.0.9

new JSONParser(JSONParser.MODE_RFC4627).parse("{\"1\":\"one\"\"2\":\"two\"}")

the above line throws parse exception; where as following line doesn't:

new JSONParser(JSONParser.MODE_RFC4627).parse("{\"1\":\"one\"\n\"2\":\"two\"}")

note that inserting \n makes it parsed successfully

Original issue reported on code.google.com by santhosh.tekuri@gmail.com on 22 Oct 2011 at 7:30

GoogleCodeExporter commented 9 years ago
Fixed in 1.0.9-1

Original comment by uriel.chemouni on 24 Oct 2011 at 9:50

GoogleCodeExporter commented 9 years ago

Original comment by uriel.chemouni on 24 Oct 2011 at 10:24

GoogleCodeExporter commented 9 years ago
thanx. will try 1.0.9-1

Original comment by santhosh.tekuri@gmail.com on 24 Oct 2011 at 6:51