您可以创建一个新模型来反序列化您的Json
CustomerJson:
public class CustomerJson{ [JsonProperty("customer")] public Customer Customer { get; set; }}public class Customer{ [JsonProperty("first_name")] public string Firstname { get; set; } [JsonProperty("last_name")] public string Lastname { get; set; } ...}您可以轻松地反序列化json:
JsonConvert.DeserializeObject<List<CustomerJson>>(json);
希望能帮助到你 !
文档:
序列化和反序列化JSON



