不知道怎么用,估计也是因为对json这个概念不是很清楚。加上技术有限;
例如有这样的一个json
[C#] 纯文本查看 复制代码 hdcontrol({"stime":1386745350,"d22a51":5,"login":true,"status":{"miphone":{"hdstart":false,"hdstop":true,"hdurl":"","duration":null,"pmstart":false,"reg":false},"mibox":{"hdstart":false,"hdstop":true,"hdurl":"","duration":null,"pmstart":false,"reg":false},"mitv":{"hdstart":false,"hdstop":true,"hdurl":"","duration":null,"pmstart":false,"reg":false},"mipower":{"hdstart":false,"hdstop":true,"hdurl":"","duration":null,"pmstart":false,"reg":false}}})
地址;http://tc.hd.xiaomi.com/hdget?callback=hdcontrol
要怎样解析,以及怎样用,飞哥能不能简略的弄个实例的代码出来呀。。就怎样读取出想要的内容就可以了。完全不知道下手呀{:soso_e105:}
|