DefaultSerializer Class |
Namespace: Couchbase.Core.IO.Serializers
public class DefaultSerializer : IExtendedTypeSerializer, ITypeSerializer, IStreamingTypeDeserializer
The DefaultSerializer type exposes the following members.
| Name | Description | |
|---|---|---|
| DefaultSerializer | Initializes a new instance of the DefaultSerializer class | |
| DefaultSerializer(JsonSerializerSettings, JsonSerializerSettings) | Initializes a new instance of the DefaultSerializer class |
| Name | Description | |
|---|---|---|
| DeserializationOptions |
Provides custom deserialization options. Options not listed in SupportedDeserializationOptions
will be ignored. If null, then defaults will be used.
| |
| DeserializationSettings |
Gets the incoming de-serializer settings; controls the format of the incoming JSON for de-serialization into POCOs.
| |
| SerializerSettings |
Gets the outgoing serializer settings; controls the format of the JSON you are storing in Couchbase.
| |
| SupportedDeserializationOptions |
Informs consumers what deserialization options this IExtendedTypeSerializer supports.
|
| Name | Description | |
|---|---|---|
| CreateJsonStreamReader |
Create an IJsonStreamReader for parsing a Stream.
| |
| DeserializeT(Stream) |
Deserializes the specified stream into the Type T specified as a generic parameter.
| |
| DeserializeT(ReadOnlyMemory) | ||
| DeserializeAsyncT | ||
| GetDeserializationSettings | ||
| GetMemberName |
Get the name which will be used for a given member during serialization/deserialization.
| |
| Serialize |
Serializes the specified object onto a stream.
| |
| SerializeAsync |
Serializes the specified object onto a stream.
|
| Name | Description | |
|---|---|---|
| DeserializeT |
Deserializes the specified buffer into the Type T specified as a generic parameter.
(Defined by TypeSerializerExtensions.) | |
| Serialize |
Serializes the specified object onto a stream.
(Defined by TypeSerializerExtensions.) |