There is a parent field called "price", but there is also a deeply-embedded child field also called "price" (first one is probably MSRP). How do I get JSONpath to only parse the parent ones?
{
"name":"Toaster",
"price":"19.99",
"store":{
"retailer":"Ants in My Eyes Johnson",
"price":"9.99",
"currency":"USD",
}
}
Using "$..price" yields:
"19.99"
"9.99"
I only want it to display
"19.99"
Not quite sure how.