System::Text::Json::Serialization::Converters::UInt16Converter class

UInt16Converter class

class UInt16Converter : public System::Text::Json::Serialization::Converters::JsonPrimitiveConverter<uint16_t>

Methods

MethodDescription
GetSupportedJsonValueTypes(JsonNumberHandling) override
Read(Utf8JsonReader&, const System::TypeInfo&, System::SharedPtr<JsonSerializerOptions>) override
ReadAsPropertyNameCore(Utf8JsonReader&, const System::TypeInfo&, System::SharedPtr<JsonSerializerOptions>) override
ReadNumberWithCustomHandling(Utf8JsonReader&, JsonNumberHandling, 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.
UInt16Converter()
Write(System::SharedPtr<Utf8JsonWriter>, uint16_t, System::SharedPtr<JsonSerializerOptions>) override
WriteAsPropertyNameCore(System::SharedPtr<Utf8JsonWriter>, uint16_t, System::SharedPtr<JsonSerializerOptions>, bool) override
WriteNumberWithCustomHandling(System::SharedPtr<Utf8JsonWriter>, uint16_t, JsonNumberHandling) override

See Also