System::Text::Json::Serialization::Converters::JsonElementConverter class

JsonElementConverter class

class JsonElementConverter : public System::Text::Json::Serialization::JsonConverter<JsonElement>

Methods

MethodDescription
Read(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.
Write(System::SharedPtr<Utf8JsonWriter>, JsonElement, System::SharedPtr<JsonSerializerOptions>) override

See Also