Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10251

JsonPipe should be able to loop over key/value pairs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Pipes 4.1.2
    • Pipes 4.2.0
    • Extensions
    • None

    Description

      while array loop is done, objects are always considered as a single bindings. There should be a way (default) when an object is the value path to loop over key & value (jsonpipe.key and jsonpipe.value bindings being fed).
      There should be an additional configruation (raw=true?) to mention we want the value as a whole json value, that also work for arrays.

      Attachments

        Activity

          People

            npeltier Nicolas Peltier
            npeltier Nicolas Peltier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: