Skip to main content

[json-processing-spec issues] [JIRA] Created: (JSON_PROCESSING_SPEC-2) A reader.readObject() call that reads JsonObject stream with duplicate keys should throw exception

  • From: "adf59 (JIRA)" < >
  • To:
  • Subject: [json-processing-spec issues] [JIRA] Created: (JSON_PROCESSING_SPEC-2) A reader.readObject() call that reads JsonObject stream with duplicate keys should throw exception
  • Date: Thu, 3 May 2012 14:26:21 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated

A reader.readObject() call that reads JsonObject stream with duplicate keys 
should throw exception
--------------------------------------------------------------------------------------------------

                 Key: JSON_PROCESSING_SPEC-2
                 URL: http://java.net/jira/browse/JSON_PROCESSING_SPEC-2
             Project: json-processing-spec
          Issue Type: Bug
            Reporter: adf59
            Priority: Minor


reader = new JsonReader(new 
StringReader("{\"foo\":\"bar\",\"foo\":\"foo\"}"));
JsonValue jv = reader.readObject();

It seems that the above readObject() should throw an exception if duplicate 
keys exist within an object.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[json-processing-spec issues] [JIRA] Created: (JSON_PROCESSING_SPEC-2) A reader.readObject() call that reads JsonObject stream with duplicate keys should throw exception

adf59 (JIRA) 05/03/2012
 
 
Close
loading
Please Confirm
Close