I\'m trying to deserialize a Facebook friend\'s Graph API call into a list of objects. The JSON object looks like:
{\"data\":[{\"id\":\"518523721\",\"name\"
Serialization:
// Convert an object to JSON string format
string jsonData = JsonConvert.SerializeObject(obj);
Response.Write(jsonData);
Deserialization::
To deserialize a dynamic object
string json = @"{
'Name': 'name',
'Description': 'des'
}";
var res = JsonConvert.DeserializeObject< dynamic>(json);
Response.Write(res.Name);