• Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • None
    • Affects Version/s: None
    • Component/s: Public Review
    • None
    • Hide

      CAMP defined JSON objects do not contain duplicate keys.

      Consumers and Providers SHALL NOT transmit JSON objects that contain duplicate keys. [PR-02]

      If a Consumer sends a Provider a request containing duplicate keys in a JSON object, the Provider SHOULD reject the request by sending back a '400 Bad Request' status code. [PR-03] If a Provider sends a Consumer a response containing duplicate keys in a JSON object, the Consumer SHOULD raise an error to the user indicating the response from the server was malformed. [PR-04]

      Note: Duplicate keys in JSON objects are allowed by [RFC4627]. This specification prohibits duplicate keys for interoperability reasons.

      Show
      CAMP defined JSON objects do not contain duplicate keys. Consumers and Providers SHALL NOT transmit JSON objects that contain duplicate keys. [PR-02] If a Consumer sends a Provider a request containing duplicate keys in a JSON object, the Provider SHOULD reject the request by sending back a '400 Bad Request' status code. [PR-03] If a Provider sends a Consumer a response containing duplicate keys in a JSON object, the Consumer SHOULD raise an error to the user indicating the response from the server was malformed. [PR-04] Note: Duplicate keys in JSON objects are allowed by [RFC4627] . This specification prohibits duplicate keys for interoperability reasons.

      6.3.1.1 Duplicate Keys in JSON Objects reads in part:


              • Duplicate keys in JSON objects are allowed by [RFC4627]. This specification prohibits duplicate keys for interoperability reasons.

      Definitely note material. State the rule for CAMP, notes explain other choices.

            Assignee:
            Gilbert Pilz (Inactive)
            Reporter:
            Gilbert Pilz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: