Exemple #1
0
        private static void WriteEmptyClassC(Utf8JsonWriter writer, string propertyName, EmptyClassC value, JsonSerializerOptions options)
        {
            writer.WritePropertyName(propertyName);
            EmptyClassCJsonConverter converter = new EmptyClassCJsonConverter();

            converter.Write(writer, value, options);
        }
Exemple #2
0
        private static EmptyClassC ReadEmptyClassC(Utf8JsonReader reader, JsonSerializerOptions options)
        {
            EmptyClassCJsonConverter converter = new EmptyClassCJsonConverter();

            return(converter.Read(ref reader, typeof(EmptyClassC), options));
        }