Categories
Mastering Development

C# Deserialize Two Jarray Objects in Single Object

I have an external API that returns the response in this format: Headers: {[ [ {"displayName": "First Name"}, {"displayName": "Last Name","field": "FieldName2Formula"}, {"displayName": "Age","field": "FieldName3Formula"} ] ]}, Data:{[ [ "John", "Smith", "50" ], [ "Liam", "Miller", "10" ] ]} I have a Class where i want the API Response to be deserialized to Class1.cs [JsonProperty("First […]