Skip to main content

[json-processing-spec issues] [JIRA] Closed: (JSON_PROCESSING_SPEC-20) remove JsonValue

  • From: "jitu (JIRA)" < >
  • To:
  • Subject: [json-processing-spec issues] [JIRA] Closed: (JSON_PROCESSING_SPEC-20) remove JsonValue
  • Date: Fri, 30 Nov 2012 23:23:49 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated


     [ 
http://java.net/jira/browse/JSON_PROCESSING_SPEC-20?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jitu closed JSON_PROCESSING_SPEC-20.
------------------------------------

    Resolution: Won't Fix

There was quite a bit of discussion on the mailing list and also with JDK 
architects.

Closing this one without any fix.

> remove JsonValue 
> -----------------
>
>                 Key: JSON_PROCESSING_SPEC-20
>                 URL: http://java.net/jira/browse/JSON_PROCESSING_SPEC-20
>             Project: json-processing-spec
>          Issue Type: Improvement
>            Reporter: wenshao
>             Fix For: 1.0-pr
>
>
> It is difficult to use.
> JsonArray & JsonObject should direct support primitive type, include:
> Byte, Short, Integer, Long, BigInteger, BigDecimal, Float, Double
> Boolean, String
> null
> JsonArray & JsonObject should include pirimitive operation, like:
> class JsonObject {
>       int getIntValue(String name, int defaultValue);
>       Integer getInt(String name);
>       long getLongValue(String name, int defaultValue);
>       Long getLong(String name);
>       ... ...
>      JsonArray getJsonArray(String name);
>      JsonObject getJsonObject(String name);
> }
> class JsonArray {
>       int getIntValue(int index, int defaultValue);
>       Integer getInt(int index);
>       long getLongValue(int index, int defaultValue);
>       Long getLong(int index);
>       ... ...
>      JsonArray getJsonArray(int index);
>      JsonObject getJsonObject(int index);
> }

-- 
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] Closed: (JSON_PROCESSING_SPEC-20) remove JsonValue

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