Possible Duplicate:
How do i parse json?
Please tell me the way to deserialize the json data in asp.net c#. Actually I have a json data with two objects like:
{
"errstr": "All downloded vedios ",
"errcode": 0,
"result": {
"videos": [
{
"id": "22",
"name": "Ashley",
"price": "0.49",
"size": "3712310"
}
],
"trailer": [
{
"id": "1",
"trailer_name": "charl1",
"status": "1"
},
{
"id": "2",
"trailer_name": "charl2",
"status": "1"
}
]
}
}
Here I have two objects videos and trailer. Please tell me the process to get get these data in my code.