Home > Back-end >  Delphi json problem
Delphi json problem

Time:09-26

Superobject json format, from an interface address, user name and password, two parameters (the order number, product number), query the product detail information, should be how to write the statement, with reference to the above network,
Jitems:=SA ([]);
Jo: SO=();
Jo. [' url '] S:=cxmaskedit3. Text;
Jo. [' account '] S:=cxmaskedit1. Text;
Jo. [' password '] S:=cxmaskedit2. Text;
ProductStr:='{" productCode ":"' + cxmaskedit5. Text + ", "quantity" : "' + cxmaskedit4. Text + '"}";
Jo. [' data '] S:=productstr;
S:=Jo. AsJSon (True, False);
To get a json content ah, I this right S or the value of the content of the query parameters, is not the result of return

CodePudding user response:

Jo. AsString
  • Related