I'm trying to get data out of a JSON using a value.
I have an array of objects:
"fruits": [
{
"Name": "Orange",
"Quantity": "5"
},
{
"Name": "Apple",
"Quantity": "2"
}
]
And I also have the name "Apple". How can I get the quantity of Apples?
I'm stuck on this..
Thanks!