System::Text::Json::Serialization::JsonCollectionConverter class

JsonCollectionConverter class

template<typename TCollection,typename TElement>class JsonCollectionConverter : public System::Text::Json::Serialization::JsonResumableConverter<TCollection>

Methods

MethodDescription
get_ElementType() override
get_SupportsCreateObjectDelegate() override
OnTryRead(Utf8JsonReader&, const System::TypeInfo&, System::SharedPtr<JsonSerializerOptions>, ReadStack&, TCollection&) override
OnTryWrite(System::SharedPtr<Utf8JsonWriter>, TCollection, System::SharedPtr<JsonSerializerOptions>, WriteStack&) override
SetTemplateWeakPtr(uint32_t) overrideSet n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.

See Also