Support Questions

Find answers, ask questions, and share your expertise

how can i use Evaluate Json Path for nested json

avatar
New Contributor

Hi

i have below json file and i need to use Evaluate Json Path 

 

{
"busId":1,
"speed":80,
location":{"lat":21.336742,"lon":39.6303}
}

 

is working fine but when i add location Evaluate Json Path return error transferring  failure

1 ACCEPTED SOLUTION

avatar
Super Guru

Here is working processor:

Screen Shot 2019-11-04 at 12.50.19 PM.png

Your value would be $.busId, $.speed, $.location

 

Nested values are:

 

$.location.lat

$.location.long

 

 

Also make sure the sample json is "location"  (" missing in your sample above).

 

 

View solution in original post

1 REPLY 1

avatar
Super Guru

Here is working processor:

Screen Shot 2019-11-04 at 12.50.19 PM.png

Your value would be $.busId, $.speed, $.location

 

Nested values are:

 

$.location.lat

$.location.long

 

 

Also make sure the sample json is "location"  (" missing in your sample above).