public class Root
{
public List<Testobject> Testobject { get; set; }
public Testparent Testparent { get; set; }
}
public class Testobject
{
public string Testprop { get; set; }
public string Testprop2 { get; set; }
}
public class Testparent
{
public List<Testobject> Testobject { get; set; }
}
If the same object is repeated elsewhere a new class is created -> bug TEST CASE # 7,
Example:
{ "testobject":[ { "testprop":"test", "testprop2":"test2" }, { "testprop":"test", "testprop2":"test2" } ], "testparent":{ "testobject":[ { "testprop":"test", "testprop2":"test2" }, { "testprop":"test", "testprop2":"test2" } ] } }
Should return