10
Answers

Deserialize JSON dynamic array

Tommy

Tommy

8y
520
1

Hey guys,

 I have JSON string:

 
{"results": {
"0001": [{
"type": "AA",
"Id": "420",
"service": false,
"description": "",
"imageUrl": "http://www.somelink.com/file.jpg",
"date": "1457608735000"
},
{
"type": "CC",
"Id": "114",
"service": true,
"description": "",
"imageUrl": "http://www.somelink.com/file.jpg",
"date": "1457611015000"
}]
}
}
 
In this example array 0001 will be dynamic id in numbers, it will be always random number. How can I deserialize this string into right order? I need to receive type, Id, service, description, imageUrl, date of the very last object (the one who's "type":"CC").
 
Please, somebody help. Thank you.
Answers (10)
0
Bikesh Srivastava

Bikesh Srivastava

NA 19.8k 835k 8y
Hi,
You should check your premmission setting where you want go.
Accepted
1
Suthish Nair

Suthish Nair

NA 31.7k 4.6m 8y
Put a break point on "Search" button, any base page, page load etc.. Check any default event is assigned to "Enter" key.
0
Tarjan Patra

Tarjan Patra

NA 93 5.5k 8y
issue solved ----Go to Authentication then change  Asp.net impersonation -Enable 
then go to the edit option for Asp.net impersonation and select specific user and set credentials for it.