I have the below JSON
{"RestResponse": {"messages": ["Total [36] records found." ],"result": [ {"id": 56,"country": "IND","name": "Andhra Pradesh","abbr": "AP","area": "49506799SKM","largest_city": "Hyderabad Amaravati","capital": "Hyderabad Amaravati" } ] } }
To access the name I am trying to give the JSONPath as
$RestResponse.result[*].name
also as
$RestResponse.result[:1].name
Both seems to be not working.