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

json: binding prefix

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • tapestry-json
    • None

    Description

      It would be nice to have a JSON binding prefix.

      eg:

      <t:someComponent
         jsonObject="json:{foo:'value1', bar:'value2'}"
         jsonArray="json:['foo','bar']"
      />
      

      This would likely require a check for the first character as a '{' will create a JSONObject whereas a '[' will create a JSONArray.

      Attachments

        Activity

          People

            Unassigned Unassigned
            uklance Lance S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: