38 lines
950 B
Plaintext
38 lines
950 B
Plaintext
// Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse);
|
|
|
|
public class Root {
|
|
[JsonProperty("testobject")]
|
|
public List<Testobject> Testobject { get; set; }
|
|
|
|
[JsonProperty("testparent")]
|
|
public Testparent Testparent { get; set; }
|
|
}
|
|
|
|
public class Testobject {
|
|
[JsonProperty("test")]
|
|
public int Test { get; set; }
|
|
|
|
[JsonProperty("teststring")]
|
|
public string Teststring { get; set; }
|
|
|
|
[JsonProperty("teststringbla")]
|
|
public Teststringbla Teststringbla { get; set; }
|
|
}
|
|
|
|
public class Testparent {
|
|
[JsonProperty("testobject")]
|
|
public List<Testobject> Testobject { get; set; }
|
|
}
|
|
|
|
|
|
public class Teststringbla {
|
|
[JsonProperty("testinginner")]
|
|
public int Testinginner { get; set; }
|
|
|
|
[JsonProperty("testingdd")]
|
|
public int Testingdd { get; set; }
|
|
}
|
|
|
|
|
|
|
|
|