Click or drag to resize

BsonSerializer Methods

The BsonSerializer type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDeserialize(Byte, Type, ActionBsonDeserializationContextBuilder)
Deserializes an object from a BSON byte array.
Public methodStatic memberDeserialize(Stream, Type, ActionBsonDeserializationContextBuilder)
Deserializes an object from a BSON Stream.
Public methodStatic memberDeserialize(TextReader, Type, ActionBsonDeserializationContextBuilder)
Deserializes an object from a JSON TextReader.
Public methodStatic memberDeserialize(String, Type, ActionBsonDeserializationContextBuilder)
Deserializes an object from a JSON string.
Public methodStatic memberDeserialize(BsonDocument, Type, ActionBsonDeserializationContextBuilder)
Deserializes an object from a BsonDocument.
Public methodStatic memberDeserialize(IBsonReader, Type, ActionBsonDeserializationContextBuilder)
Deserializes a value.
Public methodStatic memberDeserializeTNominalType(Byte, ActionBsonDeserializationContextBuilder)
Deserializes an object from a BSON byte array.
Public methodStatic memberDeserializeTNominalType(Stream, ActionBsonDeserializationContextBuilder)
Deserializes an object from a BSON Stream.
Public methodStatic memberDeserializeTNominalType(TextReader, ActionBsonDeserializationContextBuilder)
Deserializes an object from a JSON TextReader.
Public methodStatic memberDeserializeTNominalType(String, ActionBsonDeserializationContextBuilder)
Deserializes an object from a JSON string.
Public methodStatic memberDeserializeTNominalType(BsonDocument, ActionBsonDeserializationContextBuilder)
Deserializes an object from a BsonDocument.
Public methodStatic memberDeserializeTNominalType(IBsonReader, ActionBsonDeserializationContextBuilder)
Deserializes a value.
Public methodStatic memberIsTypeDiscriminated
Returns whether the given type has any discriminators registered for any of its subclasses.
Public methodStatic memberLookupActualType
Looks up the actual type of an object to be deserialized.
Public methodStatic memberLookupDiscriminatorConvention
Looks up the discriminator convention for a type.
Public methodStatic memberLookupIdGenerator
Looks up an IdGenerator.
Public methodStatic memberLookupSerializer(Type)
Looks up a serializer for a Type.
Public methodStatic memberLookupSerializerT
Looks up a serializer for a Type.
Public methodStatic memberRegisterDiscriminator
Registers the discriminator for a type.
Public methodStatic memberRegisterDiscriminatorConvention
Registers the discriminator convention for a type.
Public methodStatic memberRegisterGenericSerializerDefinition
Registers a generic serializer definition for a generic type.
Public methodStatic memberRegisterIdGenerator
Registers an IdGenerator for an Id Type.
Public methodStatic memberRegisterSerializationProvider
Registers a serialization provider.
Public methodStatic memberRegisterSerializer(Type, IBsonSerializer)
Registers a serializer for a type.
Public methodStatic memberRegisterSerializerT(IBsonSerializerT)
Registers a serializer for a type.
Public methodStatic memberSerialize(IBsonWriter, Type, Object, ActionBsonSerializationContextBuilder, BsonSerializationArgs)
Serializes a value.
Public methodStatic memberSerializeTNominalType(IBsonWriter, TNominalType, ActionBsonSerializationContextBuilder, BsonSerializationArgs)
Serializes a value.
Public methodStatic memberTryRegisterSerializer(Type, IBsonSerializer)
Tries to register a serializer for a type.
Public methodStatic memberTryRegisterSerializerT(IBsonSerializerT)
Tries to register a serializer for a type.
Top
See Also