How do I access the name of an item in an Object Literal using jQuery?
For example how would I read \"title\", \"link\", \"media\", ect... in this
{
In your case, this is not an array at all! You want to loop through properties of an object.
JavaScript does not truly support associative arays either... see http://www.hunlock.com/blogs/Mastering_Javascript_Arrays
Zed's answer is perfect, I would add
alert(json[key]);
inside the for, if you wonder how to get the value of the propery
Thanks