System::Text::Json::Serialization::JsonConverter class

JsonConverter class

template<typename T>class JsonConverter : public System::Text::Json::Serialization::JsonConverterBase

Methods

MethodDescription
CanConvert(const System::TypeInfo&) override
virtual get_HandleNull()
get_Type() override
virtual Read(Utf8JsonReader&, const System::TypeInfo&, System::SharedPtr<JsonSerializerOptions>)
virtual ReadAsPropertyName(Utf8JsonReader&, const System::TypeInfo&, System::SharedPtr<JsonSerializerOptions>)
SetTemplateWeakPtr(uint32_t) overrideSet n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.
virtual Write(System::SharedPtr<Utf8JsonWriter>, T, System::SharedPtr<JsonSerializerOptions>)
virtual WriteAsPropertyName(System::SharedPtr<Utf8JsonWriter>, T, System::SharedPtr<JsonSerializerOptions>)

See Also