System::Text::Json::Serialization::Metadata::JsonTypeInfoResolverChain class

JsonTypeInfoResolverChain class

class JsonTypeInfoResolverChain : public System::Text::Json::Serialization::ConfigurationList<System::SharedPtr<IJsonTypeInfoResolver>>,
                                  public System::Text::Json::Serialization::Metadata::IJsonTypeInfoResolver,
                                  public System::Text::Json::Serialization::Metadata::IBuiltInJsonTypeInfoResolver

Methods

MethodDescription
AddFlattened(System::SharedPtr<IJsonTypeInfoResolver>)
get_IsReadOnly() const overrideChecks if collection is read only.
GetTypeInfo(const TypeInfo&, System::SharedPtr<JsonSerializerOptions>) override
JsonTypeInfoResolverChain()
SetTemplateWeakPtr(uint32_t) overrideSet n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.
ToString() const overrideAnalog of C# Object.ToString() method. Enables converting custom objects to string.

See Also