Beispiel #1
0
 public override void Write(Utf8JsonWriter writer, Dictionary <TKey, TValue> value, JsonSerializerOptions options)
 => _arrayConverter.Write(writer, value.ToArray(), options ?? _options);
Beispiel #2
0
 public override void Write(Utf8JsonWriter writer, IEnumerable <T> value, JsonSerializerOptions options)
 => _arrayConverter.Write(writer, value.ToArray(), options ?? _options);