Skip to main content

[json-processing-spec issues] [JIRA] Created: (JSON_PROCESSING_SPEC-26) Provide read() methods to return Map and List in JsonReader

  • From: "Sutanu Ghosh (JIRA)" < >
  • To:
  • Subject: [json-processing-spec issues] [JIRA] Created: (JSON_PROCESSING_SPEC-26) Provide read() methods to return Map<String,Object> and List in JsonReader
  • Date: Tue, 27 Nov 2012 17:34:12 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated

Provide read() methods to return Map<String,Object> and List in JsonReader
--------------------------------------------------------------------------

                 Key: JSON_PROCESSING_SPEC-26
                 URL: http://java.net/jira/browse/JSON_PROCESSING_SPEC-26
             Project: json-processing-spec
          Issue Type: Improvement
    Affects Versions: 1.0
            Reporter: Sutanu Ghosh


The JsonReader can have two additional read() methods to de-serialize a JSON 
object or array.

JsonReader { 
    Map<String,Object>  readObjectAsMap( )
    List                            readArrayAsList( ) 
}

Map<String,Object> --> JSON object
List --> JSON array
The element objects in the Map or List can be any valid Java-JSON types or a 
Map or a List.

This will avoid the need to convert a JsonObject or JsonArray to a 
Map<String,Object> or a List object respectively after de-serializing via 
JsonReader.

-- 
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-26) Provide read() methods to return Map<String,Object> and List in JsonReader

Sutanu Ghosh (JIRA) 11/27/2012
 
 
Close
loading
Please Confirm
Close