WebClientDataset Data to javascript

Hi.

Is there way to Assign WebClientDataset values to variable in JavaScript as array of JavaScript objects.

I even tried to export to string and then parse but
var
lArray: TJSArray;
lstr: string;
begin
lArray := aDataset.Rows;
lstr := lArray.toString;

Returns

[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

finally I want to get in JavaScript something like

var Data1 = [
{"OrderNumber" : 1, "OrderDate":"2019-01-01", "StoreCity":"Tblisi" , "StoreState":"A1A32", "Employee": "ilia", "SaleAmount":25}
, {"OrderNumber" : 2, "OrderDate":"2019-01-02", "StoreCity":"Tblisi" , "StoreState":"A1A32", "Employee": "ilia", "SaleAmount":25}
, {"OrderNumber" : 2, "OrderDate":"2019-01-01", "StoreCity":"Tblisi" , "StoreState":"A1A32", "Employee": "ilia", "SaleAmount":25}
]

thanks.

At this moment there is not an automatic export to a JSON array.
This is a good suggestion though that we will consider to add.