You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2012/07/09 00:23:35 UTC

[jira] [Commented] (TAP5-1970) JSON API improvements

    [ https://issues.apache.org/jira/browse/TAP5-1970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409091#comment-13409091 ] 

Howard M. Lewis Ship commented on TAP5-1970:
--------------------------------------------

Fixed in branch 5.4-js-rewrite; will close issue when branch is merged into master.
                
> JSON API improvements
> ---------------------
>
>                 Key: TAP5-1970
>                 URL: https://issues.apache.org/jira/browse/TAP5-1970
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-json
>    Affects Versions: 5.4
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> The JSONObject and JSONArray APIs are a bit limited; it would be nice to be able to easily do the following:
> - add all keys/values from a Map to a JSONObject
> - add all values from a List or Iterable to a JSONArray
> - expose the contents of a JSONArray as an unmodifiable List
> - easier navigate/build in a JSONObject (that is, navigate to a nested object, creating it if necessary)
> With a growing emphasis on JSON for client communication, these changes are necessary to keep user code a simple, stable, and clear as possible.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira