{"some_id":
    [
    {"city":"Bellevue"},
    {"state":"Washington"}
    ]
}

最佳答案

var theJSonString = '({"some_id": [ {"city":"Bellevue"}, {"state":"Washington"} ] })';
var x = eval(theJSonString);
alert(x.some_id[0].city); // will display "Bellevue"

09-11 00:54