using Newtonsoft.Json.Linq;
Method 1
JArray jArray = JArray.Parse(jsonStringValue); JObject jObject = (JObject)jArray[0]; var jSonValue = jObject.ToString();
Method 2
var object = JsonConvert.DeserializeObject<dynamic>(jsonDataStringValue);
No comments:
Post a Comment