Click or drag to resize

IBsonSerializer Interface

An interface implemented by a serializer.

Namespace:  MongoDB.Bson.Serialization
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public interface IBsonSerializer

The IBsonSerializer type exposes the following members.

Properties
  NameDescription
Public propertyValueType
Gets the type of the value.
Top
Methods
  NameDescription
Public methodDeserialize
Deserializes a value.
Public methodSerialize
Serializes a value.
Top
Extension Methods
  NameDescription
Public Extension MethodDeserialize
Deserializes a value.
(Defined by IBsonSerializerExtensions.)
Public Extension MethodSerialize
Serializes a value.
(Defined by IBsonSerializerExtensions.)
Public Extension MethodToBsonValue
Converts a value to a BsonValue by serializing it.
(Defined by IBsonSerializerExtensions.)
Top
See Also