Table of Contents

Class BsonValueSerializer

Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll

Represents a serializer for BsonValues.

public class BsonValueSerializer : BsonValueSerializerBase<BsonValue>, IBsonSerializer<BsonValue>, IBsonArraySerializer, IBsonDocumentSerializer, IBsonSerializer
Inheritance
BsonValueSerializer
Implements
Inherited Members
Extension Methods

Constructors

BsonValueSerializer()

Initializes a new instance of the BsonValueSerializer class.

Properties

Instance

Gets an instance of the BsonValueSerializer class.

Methods

DeserializeValue(BsonDeserializationContext, BsonDeserializationArgs)

Deserializes a value.

SerializeValue(BsonSerializationContext, BsonSerializationArgs, BsonValue)

Serializes a value.

TryGetItemSerializationInfo(out BsonSerializationInfo)

Tries to get the serialization info for the individual items of the array.

TryGetMemberSerializationInfo(string, out BsonSerializationInfo)

Tries to get the serialization info for a member.