Hi,
I am trying to call a Rest web service, which returns response in the form of a json
"Result": [
{"id":"1", "firstname":"xyz"},
{"id":"2", "firstname":"abc"}
]
I have created a dotnet dll and imported it into navision.
I use the ApiResult := JsonConvert.DeserializeObject(Json,GETDOTNETTYPE(ApiResult)); to deserialize the Json where ApiResult is set to the rootObject.
How can I store the result in an array or list and access it in C/AL?
*This post is locked for comments