mathewdenis / json-smart

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

Empty array is invalid #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. {"something":[]}

What is the expected output? What do you see instead?
The JSON string is deemed invalid in strict.  Shouldn't an empty array be valid?

What version of the product are you using? On what operating system?
1.0.8, Windows 7, JDK 1.6

Please provide any additional information below.

Original issue reported on code.google.com by jcr...@onebigplanet.com on 1 Jul 2011 at 5:56

GoogleCodeExporter commented 9 years ago
following RFC-4627 empty array / empty object is valid.
please check your version number, you are proably using V 1.0.7

Original comment by uriel.chemouni on 2 Jul 2011 at 5:10