Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-429

Add support for parsing JSON strings into JSON objects to the $jsontool

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Minor
    • 5.2-milestone-1
    • 5.1
    • Velocity
    • None
    • Unit
    • Documented in the SRD

    Description

      #set ($array = $jsontool.parse('[1, 2, 3]'))
      #set ($object = $jsontool.parse('{"str": "value", "nr": 42, "bool": true, "nested": [1, 2, "3"]}')
      

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: