我有一个格式低于以下格式的JSON数组:
array =
[
{
"Key1": "Value11", "Key2": "Value21", Key3: "Value31", "Key4": ["Value41”]
},
{
"Key1": "Value12", "Key2": "Value22", Key3: "Value32", "Key4": ["Value42"]
}
]
我正在使用JSON.NET对其进行反序列化,如下所示:
dic = JsonConvert.DeserializeObject<Dictionary<string, string>>(array.ToString());
但由于Value41&amp; Value42在方括号中。你能否告诉我如何获得每个Key Value对?