用java工具方法解析一下的json串,都要解析成对象的或者是List套用对象的形式最好是用json的java解析工具来解答。万分感觉各位大牛别路过!!!{ status: 0, message: "query ok", data_version: "20160929", result: [ [{ id: "110099", name: "北京", fullname: "北京市", pinyin: [ "bei", "jing" ], location: { lat: 39.90469, lng: 116.40717 } }, { id: "120099", name: "天津", fullname: "天津市", pinyin: [ "tian", "jin" ], location: { lat: 39.0851, lng: 117.19937 } }, { id: "130300", name: "秦皇岛", fullname: "秦皇岛市", pinyin: [ "qin", "huang", "dao" ], location: { lat: 39.93545, lng: 119.59964 }, cidx: [ 36, 42 ] }], [{ id: "110099", name: "北京", fullname: "北京市", pinyin: [ "bei", "jing" ], location: { lat: 39.90469, lng: 116.40717 } }, { id: "120099", name: "天津", fullname: "天津市", pinyin: [ "tian", "jin" ], location: { lat: 39.0851, lng: 117.19937 } }, { id: "130300", name: "秦皇岛", fullname: "秦皇岛市", pinyin: [ "qin", "huang", "dao" ], location: { lat: 39.93545, lng: 119.59964 }, cidx: [ 36, 42 ] }], ]}
添加回答
举报
0/150
提交
取消