System::Text::Json::Serialization::Converters::JsonValueConverter class

JsonValueConverter class

class JsonValueConverter : public System::Text::Json::Serialization::JsonConverter<System::SharedPtr<Nodes::JsonValueBase>>

Methods

MethodDescription
Read(Utf8JsonReader&, const System::TypeInfo&, System::SharedPtr<JsonSerializerOptions>) override
static ReadNonNullPrimitiveValue(Utf8JsonReader&, Nodes::JsonNodeOptions)
SetTemplateWeakPtr(uint32_t) overrideSet n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.
Write(System::SharedPtr<Utf8JsonWriter>, System::SharedPtr<Nodes::JsonValueBase>, System::SharedPtr<JsonSerializerOptions>) override

See Also