I have this JSON object
{"stores":"{
"1":{
"name":"Publix",
"address":"1fbdfhbdhsdhsrh",
"long":"-84.012502",
"lat":"33.878952"},
"2":{
"name":"Publix",
"address":"fgsregerge",
"long":"-84.125147",
"lat":"33.9448"}
}"
}
this is returned in a jquery.ajax call as datatype:json. I am able to access data.stores and that displays all the stores in alert box but data.stores.1 does not work.. How can I read this properly?
object.attributeasobject['attribute'], if there's some "problem" with the attribute name