方法:
TJSONObject.GetValue<string>('path')
结果:系统04
{ "errcode":0, "errmsg":"ok", "result":{ "has_more":false, "list":[ { "name":"系统04", "userid":"21440925221347449207" } ] }, "request_id":"15s84fqhxodpx" }
Response := HttpPost(Content, 'topapi/user/listsimple');
    try
      if ParseResponse(Response) then
      begin
        JsonString:=Response.GetValue<string>('result.list[0].name');
        Result :=JsonString; 
      end; 
     finally  
       FreeAndNil(Response); 
     end;
    中年大叔学Delphi
                    
                
                
            
        
浙公网安备 33010602011771号