json-processing-spec
  1. json-processing-spec
  2. JSON_PROCESSING_SPEC-12

JsonObjectBuilder should throw exception for duplicate keys

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0-pr
    • Labels:
      None

      Description

      JsonObjectBuilder should throw exception for duplicate keys while buiding JSON Objects

        Activity

        jitu created issue -
        jitu made changes -
        Field Original Value New Value
        Fix Version/s 1.0-pr [ 16133 ]
        Hide
        jitu added a comment -

        Should we throw exception or overwrite the existing mapping ?

        Show
        jitu added a comment - Should we throw exception or overwrite the existing mapping ?
        Hide
        jitu added a comment -

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

        Show
        jitu added a comment - If there already exists a mapping for key, it just replaces the old value with the new one(similar to Map).
        jitu made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee jitu [ jitu ]
        Resolution Fixed [ 1 ]
        jitu made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            jitu
            Reporter:
            jitu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: