So I know how to get json data into flash with twitter’s search api because the array names normally aren’t weird, but I’m not really too experienced with json. For the trends api data, I’m not sure how to access it because the array name is the date and theres spaces and colons in it, and I’m not really sure what to do. Normally in flash to get the json data I’d do something like
json.trends[0].2012-01-21 01:20.name
but that doesn’t work. Can someone tell me how to pull out the name data when the array name is the date. I apologize if I’m calling these things the wrong name, I’m not too sure on what their proper names are.
To get a better understanding of what I’m talking about copy this link https://api.twitter.com/1/trends/daily.json into this site http://jsonformatter.curiousconcept.com/ in order to format the JSON.
I hope my question makes sense and thank you very much in advance.
1 Answer