Lot of similar questions but still not able to make it. Here is my code in vb.net and this is the json response. enter image description here I know this is because of [] but i'm using list don't know still getting the same error.
Asked
Active
Viewed 43 times
-1
-
You have to post the real classes of the object your want to deserialize – Serge Sep 03 '22 at 06:20
1 Answers
0
This is because you are receiving a JSON array and not a single JSON object.
You need to deserialize the array like this -
Dim Items_Array = Newtonsoft.Json.JsonConvert.DeserializeObject(Of T())(jsonString)

Joginder Tanikella
- 136
- 1
- 8