I use the following to move received JSON into a TWebClientDataSet :
tbStaff.Rows := TJSArray.new(TJSJson.parse(AResponse));
How do I do the opposite and create the JSON from the ClientDataSet to send back to my XData server?
I need to send a single record and also multiple records.
Thanks,
Paul
wlandgraf
(Wagner Landgraf)
3
You can do the other way round.
Just read the tbStaff.Rows
property for a JSON array with multiple records, or use tbStaff.Rows[Index]
for a specific JSON object.
system
(system)
Closed
4
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.