📜  json.net jobject 替换值 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:12.389000             🧑  作者: Mango

代码示例1
JObject json= JObject.Parse(jsonString);
JArray entityTypeDtos= (JArray)json["EntityTypeDto"];
foreach(var e in entityTypeDtos)
{
  if(e["Language"] != null)
     e["Language"]="EN";
}