System::Text::Json::Serialization::Converters::MemoryByteConverter class

MemoryByteConverter class

class MemoryByteConverter : public System::Text::Json::Serialization::JsonConverter<Memory<uint8_t>>

Methods

MethodDescription
get_HandleNull() override
GetSupportedJsonValueTypes(JsonNumberHandling) override
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>, Memory<uint8_t>, System::SharedPtr<JsonSerializerOptions>) override

See Also