Delphi7经过superobject解析JSON

一、经过delphi程序访问PHP事先写好的webservice(查询功能),webservice返回json格式数据。web

二、经过superobject读取json数据json

 

 获得效果以下:spa

//深层级的访问

jo:=SO('{"datalist":{"username":"admin","name":"管理","sex":"男"}}');

if   jo['datalist.sex']<> nil  then showmessage(jo['datalist.sex'].AsString );    //

https://blog.csdn.net/mpqz1065ok/article/details/80767305.net

相关文章
相关标签/搜索