Microsoft Serializer

Bond is an extensible framework for working with schematized data. It is suitable for scenarios ranging from service communications to Big Data storage and processing. Bond defines a rich type system and schema evolution rules which allow forward and backward compatibility. The core Bond features include high performance serialization. Microsoft.Graph.Core v1.22.0 An ISerializer implementation using the JSON.NET serializer.

-->

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Microsoft_office_2019_vl_serializer

Provides functionality to serialize objects or value types to JSON and to deserialize JSON into objects or value types.

SerializeXmlAttributeOverrides
Inheritance
JsonSerializer
SerializerMicrosoft SerializerMicrosoft Serializer

Remarks

For more information, see How to serialize and deserialize JSON.

JsonSerializer Class (System.Text.Json) | Microsoft Docs

Methods

Vl Serializer For Office2019 On MAC

Deserialize(ReadOnlySpan<Byte>, Type, JsonSerializerContext)

Parses the UTF-8 encoded text representing a single JSON value into a returnType.

Deserialize(ReadOnlySpan<Byte>, Type, JsonSerializerOptions)

Parses the UTF-8 encoded text representing a single JSON value into an instance of a specified type.

Deserialize(ReadOnlySpan<Char>, Type, JsonSerializerContext)

Parses the text representing a single JSON value into a returnType.

Deserialize(ReadOnlySpan<Char>, Type, JsonSerializerOptions)

Parses the text representing a single JSON value into an instance of a specified type.

Deserialize(String, Type, JsonSerializerContext)

Parses the text representing a single JSON value into a returnType.

Deserialize(String, Type, JsonSerializerOptions)

Parses the text representing a single JSON value into an instance of a specified type.

Deserialize(Utf8JsonReader, Type, JsonSerializerContext)

Reads one JSON value (including objects or arrays) from the provided reader into a returnType.

Deserialize(Utf8JsonReader, Type, JsonSerializerOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it into an instance of a specified type.

Deserialize<TValue>(ReadOnlySpan<Byte>, JsonSerializerOptions)

Parses the UTF-8 encoded text representing a single JSON value into an instance of the type specified by a generic type parameter.

Deserialize<TValue>(ReadOnlySpan<Byte>, JsonTypeInfo<TValue>)

Parses the UTF-8 encoded text representing a single JSON value into a TValue.

Deserialize<TValue>(ReadOnlySpan<Char>, JsonSerializerOptions)

Parses the text representing a single JSON value into an instance of the type specified by a generic type parameter.

Deserialize<TValue>(ReadOnlySpan<Char>, JsonTypeInfo<TValue>)

Parses the text representing a single JSON value into a TValue.

Deserialize<TValue>(String, JsonSerializerOptions)

Parses the text representing a single JSON value into an instance of the type specified by a generic type parameter.

Deserialize<TValue>(String, JsonTypeInfo<TValue>)

Parses the text representing a single JSON value into a TValue.

Deserialize<TValue>(Utf8JsonReader, JsonSerializerOptions)

Reads one JSON value (including objects or arrays) from the provided reader into an instance of the type specified by a generic type parameter.

Deserialize<TValue>(Utf8JsonReader, JsonTypeInfo<TValue>)

Reads one JSON value (including objects or arrays) from the provided reader into a TValue.

DeserializeAsync(Stream, Type, JsonSerializerContext, CancellationToken)

Reads the UTF-8 encoded text representing a single JSON value into a returnType.The Stream will be read to completion.

DeserializeAsync(Stream, Type, JsonSerializerOptions, CancellationToken)

Asynchronously reads the UTF-8 encoded text representing a single JSON value into an instance of a specified type. The stream will be read to completion.

DeserializeAsync<TValue>(Stream, JsonSerializerOptions, CancellationToken)

Asynchronously reads the UTF-8 encoded text representing a single JSON value into an instance of a type specified by a generic type parameter. The stream will be read to completion.

DeserializeAsync<TValue>(Stream, JsonTypeInfo<TValue>, CancellationToken)

Reads the UTF-8 encoded text representing a single JSON value into a TValue.The Stream will be read to completion.

DeserializeAsyncEnumerable<TValue>(Stream, JsonSerializerOptions, CancellationToken)

Wraps the UTF-8 encoded text into an IAsyncEnumerable<T> that can be used to deserialize root-level JSON arrays in a streaming manner.

Serialize(Object, Type, JsonSerializerContext)

Converts the provided value into a String.

Serialize(Object, Type, JsonSerializerOptions)

Converts the value of a specified type into a JSON string.

Serialize(Utf8JsonWriter, Object, Type, JsonSerializerContext)

Writes one JSON value (including objects or arrays) to the provided writer.

Serialize(Utf8JsonWriter, Object, Type, JsonSerializerOptions)

Writes the JSON representation of the specified type to the provided writer.

Serialize<TValue>(TValue, JsonSerializerOptions)

Converts the value of a type specified by a generic type parameter into a JSON string.

Serialize<TValue>(TValue, JsonTypeInfo<TValue>)

Converts the provided value into a String.

Serialize<TValue>(Utf8JsonWriter, TValue, JsonSerializerOptions)

Writes the JSON representation of a type specified by a generic type parameter to the provided writer.

Serialize<TValue>(Utf8JsonWriter, TValue, JsonTypeInfo<TValue>)

Writes one JSON value (including objects or arrays) to the provided writer.

SerializeAsync(Stream, Object, Type, JsonSerializerContext, CancellationToken)

Converts the provided value to UTF-8 encoded JSON text and write it to the Stream.

SerializeAsync(Stream, Object, Type, JsonSerializerOptions, CancellationToken)

Asynchronously converts the value of a specified type to UTF-8 encoded JSON text and writes it to the specified stream.

SerializeAsync<TValue>(Stream, TValue, JsonSerializerOptions, CancellationToken)

Asynchronously converts a value of a type specified by a generic type parameter to UTF-8 encoded JSON text and writes it to a stream.

SerializeAsync<TValue>(Stream, TValue, JsonTypeInfo<TValue>, CancellationToken)

Converts the provided value to UTF-8 encoded JSON text and write it to the Stream.

SerializeToUtf8Bytes(Object, Type, JsonSerializerContext)

Converts the provided value into a Byte array.

SerializeToUtf8Bytes(Object, Type, JsonSerializerOptions)

Converts a value of the specified type into a JSON string, encoded as UTF-8 bytes.

SerializeToUtf8Bytes<TValue>(TValue, JsonSerializerOptions)

Converts the value of a type specified by a generic type parameter into a JSON string, encoded as UTF-8 bytes.

SerializeToUtf8Bytes<TValue>(TValue, JsonTypeInfo<TValue>)

Converts the provided value into a Byte array.

Microsoft Serializer Not Working

Applies to