遍历JObject

JObject jo = JObject.Parse(jsonStr);
IEnumerable properties = jo.Properties();
 foreach (JProperty item in properties)
{
    //key = item.Name;
    //type = item.Value;
}

 

转载于:https://www.cnblogs.com/talentzemin/p/5565938.html

你可能感兴趣的:(遍历JObject)