I'm using getJSON and PHP is returning JSON that looks like this (I
inserted returns for readability)

[{
"id":"220",
"choice_name":"Foobar",
"loc_affiliation":"Foobar Inc.",
"address":"c\/o Some Co, Inc.\r\n999 W. 104th Street\r\nInglewood, CA
90304\r\nU.S.A.",
"is_usa_address":"1",
"phone_no":"562-555-5965",
"fax_no":null,
"email_addr":null,
"contact_name":"John Doe"
}]

What I would like to do is iterate each name value pair in the object
and process it accordingly.

If tried jQuery's each() and a for (val in object) but I'm only seeing
id, choice_name, etc. I can't access the values.

What am I missing?

Reply via email to