Skip to main content
ttami
Bronze ⭐️⭐️⭐️
November 3, 2019
Solved

how can i use Evaluate Json Path for nested json

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

stevenmatison
Platinum ⭐️⭐️
November 4, 2019

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).

 

 

1 reply

stevenmatison
Platinum ⭐️⭐️
November 4, 2019

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).

 

 

Translate