Cài nuget Newtonsoft
string responseString = @"{
'SaleName':'Peter','Age':31,
'Stores': ['Lambton Quay','Willis Street'],
'Manufacturers': [
{'Name': 'Acme Co','Products': [{'Name': 'Anvil','Price': 50}]},
{'Name': 'Contoso','Products': [{'Name': 'Elbow Grease','Price': 99.95},
{'Name': 'Headlight Fluid','Price': 4}]}]
}";
JObject jo = JObject.Parse(responseString);
0 Nhận xét