HOWTO convert ClientDataSet.Rows to JSON

Good day,
How to convert TClientDataSet.Rows (TJSArray) into JSON format?

This is in order to use the resulting JSON with TWebHttpRequest.

Did you try stringify()?

Yes, I did that after I posted on here.

How to send it via HttpServerRequest though?

........................

Logical 27

1 1 0 1 1

I assume you want to post this data, so, you would set it to the PostData property of TWebHttpRequest.

That worked. Thanks.

........................

Logical 27

1 1 0 1 1

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.