JsonCollectionConverter<TCollection, TElement>
Base class for all collections. Collections are assumed to implement IEnumerable<T>
or a variant thereof e.g. IAsyncEnumerable<T>.
protected JsonCollectionConverter()
protected abstract void Add(TElement& modreq(System.Runtime.InteropServices.InAttribute) value, ref ReadStack state)
protected abstract void CreateCollection(ref Utf8JsonReader reader, ref ReadStack state, JsonSerializerOptions options)
protected abstract bool OnWriteResume(Utf8JsonWriter writer, TCollection value, JsonSerializerOptions options, ref WriteStack state)