JsonSerializable.LoadFrom Method

Definition

Overloads

LoadFrom(JsonReader)

Loads the object from the specified JSON reader in the Azure Cosmos DB service.

LoadFrom(JsonReader, JsonSerializerSettings)

Loads the object from the specified JSON reader in the Azure Cosmos DB service.

LoadFrom<T>(Stream)

Loads the object from the specified stream in the Azure Cosmos DB service.

LoadFrom(JsonReader)

Loads the object from the specified JSON reader in the Azure Cosmos DB service.

C#
public virtual void LoadFrom(Newtonsoft.Json.JsonReader reader);

Parameters

reader
Newtonsoft.Json.JsonReader

Loads the object from this JSON reader.

Applies to

Azure SDK for .NET Latest
Produk Versi
Azure SDK for .NET Latest

LoadFrom(JsonReader, JsonSerializerSettings)

Loads the object from the specified JSON reader in the Azure Cosmos DB service.

C#
public virtual void LoadFrom(Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.JsonSerializerSettings serializerSettings);

Parameters

reader
Newtonsoft.Json.JsonReader

Loads the object from this JSON reader.

serializerSettings
Newtonsoft.Json.JsonSerializerSettings

The JsonSerializerSettings to be used.

Applies to

Azure SDK for .NET Latest
Produk Versi
Azure SDK for .NET Latest

LoadFrom<T>(Stream)

Loads the object from the specified stream in the Azure Cosmos DB service.

C#
public static T LoadFrom<T>(System.IO.Stream stream) where T : Microsoft.Azure.Documents.JsonSerializable, new();

Type Parameters

T

The type of the returning object.

Parameters

stream
Stream

The stream to load from.

Returns

T

The object loaded from the specified stream.

Applies to

Azure SDK for .NET Latest
Produk Versi
Azure SDK for .NET Latest