System::Text::Json::JsonSerializer class

JsonSerializer class

class JsonSerializer

Methods

MethodDescription
static CreateExtensionDataProperty(System::SharedPtr<Object>, System::SharedPtr<Serialization::Metadata::JsonPropertyInfoBase>, System::SharedPtr<JsonSerializerOptions>)
static Deserialize(System::SharedPtr<JsonDocument>, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<TValue>>)
static Deserialize(System::SharedPtr<JsonDocument>, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase>)
static Deserialize(System::SharedPtr<JsonDocument>, const TypeInfo&, System::SharedPtr<Serialization::JsonSerializerContext>)
static Deserialize(JsonElement, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<TValue>>)
static Deserialize(JsonElement, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase>)
static Deserialize(JsonElement, const TypeInfo&, System::SharedPtr<Serialization::JsonSerializerContext>)
static Deserialize(System::SharedPtr<Nodes::JsonNode>, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<TValue>>)
static Deserialize(System::SharedPtr<Nodes::JsonNode>, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase>)
static Deserialize(System::SharedPtr<Nodes::JsonNode>, const TypeInfo&, System::SharedPtr<Serialization::JsonSerializerContext>)
static Deserialize(Utf8JsonReader&, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<TValue>>)
static Deserialize(Utf8JsonReader&, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase>)
static Deserialize(Utf8JsonReader&, const TypeInfo&, System::SharedPtr<Serialization::JsonSerializerContext>)
static Deserialize(String, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<TValue>>)
static Deserialize(ReadOnlySpan<char16_t>, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<TValue>>)
static Deserialize(String, System::SharedPtr<JsonSerializerOptions>)
static Deserialize(String, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase>)
static Deserialize(ReadOnlySpan<char16_t>, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase>)
static Deserialize(String, const TypeInfo&, System::SharedPtr<Serialization::JsonSerializerContext>)
static Deserialize(ReadOnlySpan<char16_t>, const TypeInfo&, System::SharedPtr<Serialization::JsonSerializerContext>)
static Deserialize(System::SharedPtr<IO::Stream>, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<TValue>>)
static Deserialize(System::SharedPtr<IO::Stream>, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase>)
static Deserialize(System::SharedPtr<IO::Stream>, const TypeInfo&, System::SharedPtr<Serialization::JsonSerializerContext>)
static Deserialize(ReadOnlySpan<uint8_t>, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<TValue>>)
static Deserialize(ReadOnlySpan<uint8_t>, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase>)
static Deserialize(ReadOnlySpan<uint8_t>, const TypeInfo&, System::SharedPtr<Serialization::JsonSerializerContext>)
static GetMetadataPropertyName(ReadOnlySpan<uint8_t>, System::SharedPtr<Serialization::Metadata::PolymorphicTypeResolver>)
static GetPropertyName(ReadStack&, Utf8JsonReader&, System::SharedPtr<JsonSerializerOptions>, bool&)
static IsMetadataPropertyName(ReadOnlySpan<uint8_t>, System::SharedPtr<Serialization::Metadata::PolymorphicTypeResolver>)
JsonSerializer()
static LookupProperty(System::SharedPtr<Object>, ReadOnlySpan<uint8_t>, ReadStack&, System::SharedPtr<JsonSerializerOptions>, bool&, bool)
static Serialize(System::SharedPtr<Utf8JsonWriter>, TValue, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<TValue>>)
static Serialize(System::SharedPtr<Utf8JsonWriter>, System::SharedPtr<Object>, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase>)
static Serialize(System::SharedPtr<Utf8JsonWriter>, System::SharedPtr<Object>, const TypeInfo&, System::SharedPtr<Serialization::JsonSerializerContext>)
static Serialize(System::SharedPtr<IO::Stream>, TValue, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<TValue>>)
static Serialize(System::SharedPtr<IO::Stream>, System::SharedPtr<Object>, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase>)
static Serialize(System::SharedPtr<IO::Stream>, System::SharedPtr<Object>, const TypeInfo&, System::SharedPtr<Serialization::JsonSerializerContext>)
static Serialize(TValue, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<TValue>>)
static Serialize(TValue, System::SharedPtr<JsonSerializerOptions>)
static Serialize(System::SharedPtr<Object>, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase>)
static Serialize(System::SharedPtr<Object>, const TypeInfo&, System::SharedPtr<Serialization::JsonSerializerContext>)
static SerializeToDocument(TValue, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<TValue>>)
static SerializeToDocument(System::SharedPtr<Object>, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase>)
static SerializeToDocument(System::SharedPtr<Object>, const TypeInfo&, System::SharedPtr<Serialization::JsonSerializerContext>)
static SerializeToElement(TValue, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<TValue>>)
static SerializeToElement(System::SharedPtr<Object>, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase>)
static SerializeToElement(System::SharedPtr<Object>, const TypeInfo&, System::SharedPtr<Serialization::JsonSerializerContext>)
static SerializeToNode(TValue, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<TValue>>)
static SerializeToNode(System::SharedPtr<Object>, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase>)
static SerializeToNode(System::SharedPtr<Object>, const TypeInfo&, System::SharedPtr<Serialization::JsonSerializerContext>)
static SerializeToUtf8Bytes(TValue, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<TValue>>)
static SerializeToUtf8Bytes(System::SharedPtr<Object>, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase>)
static SerializeToUtf8Bytes(System::SharedPtr<Object>, const TypeInfo&, System::SharedPtr<Serialization::JsonSerializerContext>)
static TryReadMetadata(System::SharedPtr<Serialization::JsonConverterBase>, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase>, Utf8JsonReader&, ReadStack&)
static ValidateMetadataForArrayConverter(System::SharedPtr<Serialization::JsonConverterBase>, Utf8JsonReader&, ReadStack&)
static ValidateMetadataForObjectConverter(ReadStack&)
static WriteMetadataForCollection(System::SharedPtr<Serialization::JsonConverterBase>, WriteStack&, System::SharedPtr<Utf8JsonWriter>)
static WriteMetadataForObject(System::SharedPtr<Serialization::JsonConverterBase>, WriteStack&, System::SharedPtr<Utf8JsonWriter>)

Fields

FieldDescription
static FlushThreshold

See Also