Click or drag to resize

DefaultSerializer Class

The default serializer for the Couchbase.NET SDK. Uses Newtonsoft.JSON as the the serializer.
Inheritance Hierarchy
SystemObject
  Couchbase.Core.IO.SerializersDefaultSerializer

Namespace:  Couchbase.Core.IO.Serializers
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax
C#
public class DefaultSerializer : IExtendedTypeSerializer, 
	ITypeSerializer, IStreamingTypeDeserializer

The DefaultSerializer type exposes the following members.

Constructors
  NameDescription
Public methodDefaultSerializer
Initializes a new instance of the DefaultSerializer class
Public methodDefaultSerializer(JsonSerializerSettings, JsonSerializerSettings)
Initializes a new instance of the DefaultSerializer class
Top
Properties
  NameDescription
Public propertyDeserializationOptions
Provides custom deserialization options. Options not listed in SupportedDeserializationOptions will be ignored. If null, then defaults will be used.
Public propertyDeserializationSettings
Gets the incoming de-serializer settings; controls the format of the incoming JSON for de-serialization into POCOs.
Public propertySerializerSettings
Gets the outgoing serializer settings; controls the format of the JSON you are storing in Couchbase.
Public propertySupportedDeserializationOptions
Informs consumers what deserialization options this IExtendedTypeSerializer supports.
Top
Methods
Extension Methods
  NameDescription
Public Extension MethodDeserializeT
Deserializes the specified buffer into the Type T specified as a generic parameter.
(Defined by TypeSerializerExtensions.)
Public Extension MethodSerialize
Serializes the specified object onto a stream.
(Defined by TypeSerializerExtensions.)
Top
See Also