Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1970

JSON API improvements

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment