Click or drag to resize
BsonSerializer.Deserialize<TNominalType> Method (TextReader, Action<BsonDeserializationContext.Builder>)
Deserializes an object from a JSON TextReader.

Namespace: MongoDB.Bson.Serialization
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.2.0
Syntax
public static TNominalType Deserialize<TNominalType>(
	TextReader textReader,
	Action<BsonDeserializationContext. Builder> configurator = null
)

Parameters

textReader
Type: System.IO.TextReader
The JSON TextReader.
configurator (Optional)
Type: System.Action<BsonDeserializationContext.Builder>
The configurator.

Type Parameters

TNominalType
The nominal type of the object.

Return Value

Type: TNominalType
A deserialized value.
See Also