Hi I have a snippet of a json I have to parse, I made it smaller so it's easier to see.
[
{
"trends": [
{
"name": "#CyberMonday",
"url": "https://twitter.com"
},
{
"name": "#BlackFriday",
"url": "https://twitter.com"
}
],
"as_of": "2016-11-28T20:46:09Z",
"created_at": "2016-11-28T20:40:17Z",
"locations": [
{
"name": "Worldwide",
"woeid": 1
}
]
}
]
How would I find the "name" for both sections under "trends". According to the JSONEditor I used online it says that trends is an array, I'm not familiar with getting jsonobjects when they're an array. Help please? I know how to do it if it weren't an array but now I'm struggling. Thanks!