[JSON_PROCESSING_SPEC-12] JsonObjectBuilder should throw exception for duplicate keys Created: 16/Oct/12  Updated: 12/Dec/12  Resolved: 12/Dec/12

Status: Closed
Project: json-processing-spec
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0-pr

Type: Improvement Priority: Major
Reporter: jitu Assignee: jitu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


JsonObjectBuilder should throw exception for duplicate keys while buiding JSON Objects

Comment by jitu [ 03/Dec/12 ]

Should we throw exception or overwrite the existing mapping ?

Comment by jitu [ 12/Dec/12 ]

If there already exists a mapping for key, it just replaces the old value with the new one(similar to Map).

Generated at Thu Jan 19 05:52:22 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.