格式一:var datas = {"A":[{"a1":"1"},{"a2":"2"}],"B":[{"b1":"1"},{"b2":"2"}]}
json = JSON.parse(datas);
alert(json["A"][0].a1);