예제 #1
0
        public override T Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
        {
            var type = this.GetType(typeToConvert, options);

            return((T)DefaultObjectJsonConverter.Read(ref reader, type, options));
        }
 private static T defaultReader(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
 {
     return((T)DefaultObjectJsonConverter.Read(ref reader, typeToConvert, options) !);
 }