ok
JArray array = JsonConvert.DeserializeObject<JArray>(Json_ProPerson);
var Json_ProPerson =[{"Guid":"b3609209-1dbb-4445-8d96-389c2544d4d3","Person_Name":"王大大","Guid":"b3609209-1dbb-4445-8d96-389c2544d4d3","Person_Name":"小大大"}]
現在要取得王大大跟小大大
JArray array = JsonConvert.DeserializeObject<JArray>(Json_ProPerson);
var ans = "";
/*或這樣跑迴圈↓*/
foreach (JObject Jobj in array)
{
ans += Jobj["Person_Name"].ToString() + " ";
}
return ans;
歡迎高手低手來看看 指教指教 切磋切磋 教學香腸