rinehimer / jxtl

Automatically exported from code.google.com/p/jxtl
Apache License 2.0
0 stars 2 forks source link

Duplicate JSON Properties #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The JSON writer should have a flag of how to handle a duplicate property.  By 
default, it should probably be an error because the JSON specification does not 
allow it.  Right now, it does not cause an error, it just turns the property 
into and array and saves all occurrences.  This behavior is needed for 
converting from XML to JSON, but probably should be disabled by default.

Original issue reported on code.google.com by rinehi...@gmail.com on 23 Sep 2010 at 9:21