JsonSerializable.LoadFrom Method

Definition

Overloads

LoadFrom(JsonReader)

Loads the object from the specified JSON reader in the Azure DocumentDB database service.

LoadFrom(JsonReader, JsonSerializerSettings)

Loads the object from the specified JSON reader in the Azure DocumentDB database service.

LoadFrom<T>(Stream)

Loads the object from the specified stream in the Azure DocumentDB database service.

LoadFrom(JsonReader)

Loads the object from the specified JSON reader in the Azure DocumentDB database service.

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

Loads the object from this JSON reader.

LoadFrom(JsonReader, JsonSerializerSettings)

Loads the object from the specified JSON reader in the Azure DocumentDB database service.

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.

LoadFrom<T>(Stream)

Loads the object from the specified stream in the Azure DocumentDB database service.

public static T LoadFrom<T> (System.IO.Stream stream) where T : Microsoft.Azure.Documents.JsonSerializablenew();
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.