System::Text::Json::Serialization::Converters::JsonPrimitiveConverter class

JsonPrimitiveConverter class

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

Methods

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

See Also