C# 要在C中列出的Json#

C# 要在C中列出的Json#,c#,json,list,parsing,C#,Json,List,Parsing,我有一个json文件这是它的格式: {"resultset": {"row": [ {"field": [1001001, 1, 1, 1, "In the beginning God{After \\\"God,\\\" the Hebrew has the two letters \\\"Aleph Tav\\\" (the first and last letters of the Hebrew alphabet) as a grammatical marker.} crea

我有一个json文件这是它的格式:

{"resultset": {"row": [
       {"field": [1001001, 1, 1, 1, "In the beginning God{After \\\"God,\\\" the Hebrew has the two letters \\\"Aleph Tav\\\" (the first and last letters of the Hebrew alphabet) as a grammatical marker.} created the heavens and the earth."]},  
       {"field": [1001002, 1, 1, 2, "Now the earth was formless and empty. Darkness was on the surface of the deep. God's Spirit was hovering over the surface of the waters."]} 
]}}
如何将其存储在列表中?我想将字段中的所有值存储在列表中。
注意:我收集了大量数据。创建如下对象:

public class Field
{
    /*Your properties here*/
}

public class Row
{
    public List<Field> field { get; set; }
}

public class Resultset
{
    public List<Row> row { get; set; }
}

public class RootObject
{
    public Resultset resultset { get; set; }
}
公共类字段
{
/*你在这里的财产*/
}
公共类行
{
公共列表字段{get;set;}
}
公共类结果集
{
公共列表行{get;set;}
}
公共类根对象
{
公共结果集Resultset{get;set;}
}

将JSON反序列化到rootobject,这样您就可以浏览到字段列表。

您可以使用newtonsoft nuget。将对象反序列化到列表中。您能告诉我如何进行反序列化吗?关于我的json字符串的示例?您的问题被标记为重复,这里有很多问题已经涉及到json.NET包的使用。