I am using Vb.net and I have written following code to get data using json object deserialization.
abc is a string format and the value is:
{
"state":"success",
"data"
{
"height":200,
"width":0
}
}
jsonObject = JsonConvert.DesirializeObject(Of xyz)(abc)
Now, I need to get the values of height and/or width based on the condition when the state is successful.
Please help me how can I get the values from inside data.
I tried for status as below:
jsonObject.state = "status"
But I don't know what to use for data and getting height and width.