public void Setup() { var nested = JsonWriterGenerator.Generate <Nested>(); var simple = JsonWriterGenerator.Generate <Simple>(); var arrInt = JsonWriterGenerator.Generate <Arrays <int> >(); var arrString = JsonWriterGenerator.Generate <Arrays <string> >(); var arrSimple = JsonWriterGenerator.Generate <Arrays <Simple> >(); var arrNested = JsonWriterGenerator.Generate <Arrays <Nested> >(); TypeSerializer.Register <Nested>(); TypeSerializer.Register <Simple>(); TypeSerializer.Register <Arrays <int> >(); TypeSerializer.Register <Arrays <string> >(); TypeSerializer.Register <Arrays <Simple> >(); TypeSerializer.Register <Arrays <Nested> >(); Console.WriteLine($"{nested} {simple} {arrInt} {arrSimple} {arrString} {arrNested}"); }