📜  json.net 动态反序列化 - C# 代码示例

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

代码示例1
dynamic d = JObject.Parse("{number:1000, str:'string', array: [1,2,3,4,5,6]}");

Console.WriteLine(d.number);
Console.WriteLine(d.str);
Console.WriteLine(d.array.Count);