JsonSerializer

JsonSerializer class

class JsonSerializer

Methods

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

Fields

FieldDescription
static FlushThreshold

See Also