Hello,
I receice a list of event in a json response but my xdatawebdataset return only 1 record.
await(XDataWebConnection1.OpenAsync);
Response:= await(XDataWebClient1.RawInvokeAsync('IPlanningService.getEvents',[]));
webmemo1.Lines.Add(Response.ResponseText);
xevent.SetJsonData(Response.Result);
xevent.Open;
//xevent.recordcount = 1
My json :
{
"value": [
{
"$id": 1,
"@xdata.type": "XData.Default.Event",
"Clef": 288,
"DESCRIPTION": "",
"SUMMARY": "",
"LOCATION": ""
},
{
"$id": 2,
"@xdata.type": "XData.Default.Event",
"Clef": 289,
"DESCRIPTION": "",
"SUMMARY": "",
"LOCATION": ""
},
{
"$id": 3,
"@xdata.type": "XData.Default.Event",
"Clef": 290,
"DESCRIPTION": "",
"SUMMARY": "",
"LOCATION": ""
}
]
With the debugger, i can see isarray return false and length = 1
Thank you.