3
A simple return query to my REST service brings the following answer:
{
"Id": 1,
"Descricao": "TIROLESA DE AÇO",
"Und": "UND",
"Fabrica": "STARROW",
"Estoque": 9,
"Preco": 0.39
},
But the query with more than one object starts with {"Result": [
{
"Result":
[
{
....
....
....
}
],
"Id": 3,
"Exception": null,
"Status": 5,
"IsCanceled": false,
"IsCompleted": true,
"CreationOptions": 0,
"AsyncState": null,
"IsFaulted": false
}
This last return brings a "header" (Result) that hinders the deserialization of my class, would have to configure the return so that the same comes only the Array JSON, without this header?
If anyone has another answer I’ll undo this as you accept.
– rubStackOverflow