System::Text::Json::Serialization::Converters::ObjectDefaultConverter class

ObjectDefaultConverter class

template<typename T>class ObjectDefaultConverter : public System::Text::Json::Serialization::JsonObjectConverter<T>

Methods

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

See Also