I have some .js files in my project which I develop them in WSO2 EI v6.4.0 and I want to use jsonPath in a function which is in a template.js file but I receive an error in console which is jsonPath is not defined. How can I import jsonPath library i...
I have been using a the library jsonpath-object-transform, which is based on JSONPath to perform template based transformation of my JSON objects.  However, I am stuck at having a combination of dynamic fields and static fields.   As an example, I re...
In XPath, the following is possible:  XML:  <root>     <parent>         <child>             <descendant status="passed">1</descendant>             <descendant status="passed">2</descendant>...
This is another request for help as my 1st question was never really answered. I'm going to try a different approach here...  I need to be able to scrape all image filenames from a site.  I'm using Ruby on Rails with Nokogiri (and Mechanize a...
I'm trying to get the names of the object whose collection array contains the word 'random'. Have tried various json path queries but couldn't get the right one.    { 	"elements": [         { 			"name": "My first e...
I'm currently working on a project I inherited from another developer that makes extensive use of JSONPATH to parse JavaScript objects.  Being a nodejs project, I find the use of JSONPATH to be obfuscating rather than enlightening.   I have been...
I've got a JSON payload like this:  {     "food": [         {             "sections": [                 {                     "extras": [                         {                             "_id": "test"...
For the current example of store/books on   https://github.com/jayway/JsonPath  If the author its a object  "author" : { "name" : "Joe", "lastName": "Doe" }   How could I get all authors that the lastName is Do...
I have different types of requests as follows:      {          "RequestA":{             "CreditCard":"1234567812345678",           "expdate":"0919",           "pin":[                "1792"     ]...
I have an array of objects, like those ones:  {   "short_id": "2p45q",   "path": "/",   "name": {     "en-US": "IndustrialDesign"   } }  ...  {   "short_id": "2q56r",   "path...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.