You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to access specific nodes by filtering by a parameter without having to use a loop

Summary:

Access specific information from a JSON data collection

Content (required):

Hi experts,

{
  "people":[
   {
     "Name":"Oliver James",
     "Age":"29"
   },
   {
     "Name":"Jack John",
     "Age":"32"
   },
   {
     "Name":"Harry Robert",
     "Age":"25"
   }
  ]
}

Is there a way to access "Jack John" node without having to iterate through the entire data collection?

I tried the following without success:

/nssrcmpr:execute/nssrcdfl:request-wrapper/nssrcdfl:people/nssrcdfl:Name = 'Jack John'

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!