Skip to main content

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

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

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

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


The JsonWriter can have two additional write() methods to serialize a 
Map<String,Object> and a List.

JsonWriter {
  write(Map<String,Object> jsonObject)
  write(List jsonArray)
}

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 Map<String,Object> or a List object to 
a JsonObject or JsonArray respectively before serializing via JsonWriter.



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

Sutanu Ghosh (JIRA) 11/27/2012

[json-processing-spec issues] [JIRA] Commented: (JSON_PROCESSING_SPEC-25) Provide read() methods to retrun Map<String,Object> and List in JsonReader

Sutanu Ghosh (JIRA) 11/27/2012

[json-processing-spec issues] [JIRA] Closed: (JSON_PROCESSING_SPEC-25) Provide read() methods to retrun Map<String,Object> and List in JsonReader

jitu (JIRA) 11/27/2012
 
 
Close
loading
Please Confirm
Close