原JSON
{"version":"1.1.0","host":"maps.google.com","cell_towers":[{"cell_id":"3721","location_area_code":"9779","mobile_country_code":"460","mobile_network_code":"0","age":0,"signal_strength":-65}],"verifycode":"8wxj"}
Json. 解析 ( #Json文本 )Json. 置属性 (“verifycode”, “123456”, )Json. 置属性 (“['mobile_country_code'”, “123456”, )Json. 置属性 (“['cell_towers'][0]['mobile_network_code']”, “123456”, )Json. 置属性 (“['location_area_code']”, “123456”, )Json. 置属性 (“['cell_id']”, “123456”, )调试输出 (Json. 取数据文本 ())
调试输出内容:* “{"version":"1.1.0","host":"maps.google.com","cell_towers":[{"cell_id":"3721","location_area_code":"9779","mobile_country_code":"460","mobile_network_code":"0","age":0,"signal_strength":-65}],"verifycode":"123456"}”
被调试易程序运行完毕
除了verifycode值呗置换了 其它值一个都换不掉?求解
|