Added Json2CSharpCodeGenerator.Tests
This commit is contained in:
@ -0,0 +1,25 @@
|
||||
// Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse);
|
||||
|
||||
public class Root {
|
||||
public List<Testobject> testobject { get; set; }
|
||||
public Testparent testparent { get; set; }
|
||||
}
|
||||
|
||||
public class Testobject {
|
||||
public int test { get; set; }
|
||||
public string teststring { get; set; }
|
||||
public Teststringbla teststringbla { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class Testparent {
|
||||
public List<Testobject> testobject { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class Teststringbla {
|
||||
public int testinginner { get; set; }
|
||||
public int testingdd { get; set; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user