This question already has answers here:
Closed 2 years ago.
I can't figure out how to select a specific element in a JSON object, and I cant come up with a search phrase to google.
This is my JSON
{
"originalRequest": {
"category": {}
},
"totalResultSize": 209,
"products": [
{
"id": "1000004006560322",
"ean": "0828768235928",
"gpc": "music",
"title": "title",
"specsTag": "tag",
"summary": "summary",
"rating": 45,
"urls": [
{
"key": "DESKTOP",
"value": "http://www.url.com"
},
{
"key": "MOBILE",
"value": "https://m.url.com"
}
]
}
]
}
how can I select the URL where the key is MOBILE?
thanks!