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

add jsonpath expression for jsonpipe

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Pipes 1.0.4
    • Pipes 1.1.0
    • Extensions
    • None

    Description

      it's not always that on the internet json streams are arrays of objects that interest us. More often you find the array you want to use somewhere within the json.
      To adapt to this, JsonPipe configuration should mention where to fetch the array it will use for generating its output.

      using JsonPath (http://goessner.net/articles/JsonPath/) seems good enough $.results e.g.

      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: