Nicolas Peltier created SLING-7117:
--------------------------------------

             Summary: add jsonpath expression for jsonpipe
                 Key: SLING-7117
                 URL: https://issues.apache.org/jira/browse/SLING-7117
             Project: Sling
          Issue Type: Improvement
          Components: Extensions
    Affects Versions: Pipes 1.0.4
            Reporter: Nicolas Peltier


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to