Example #1
0
        public JsonSerializerTests()
        {
            serializerSettings.TypeNameHandling    = TypeNameHandling.Auto;
            serializerSettings.SerializationBinder = new TypeNameSerializationBinder(typeNameRegistry);

            sut = new SchemaJsonSerializer(new FieldRegistry(typeNameRegistry), serializerSettings);
        }