Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Namespace Couchbase.Core.IO.Serializers

Classes

DefaultJsonStreamReader

Newtonsoft.Json based implementation of IJsonStreamReader.

DefaultSerializer

The default serializer for the Couchbase.NET SDK. Uses Newtonsoft.JSON as the the serializer.

DeserializationOptions

Options to control deserialization process in an IExtendedTypeSerializer.

JsonStreamDeserializerExtensions

Extensions for IJsonStreamReader.

RawByteArraySerializer

An ITypeSerializer decorator that treats byte[] as a raw pass-through in both directions and delegates every other type to an inner serializer.

SupportedDeserializationOptions

Supplied by IExtendedTypeSerializer to define which deserialization options it supports.

SystemTextJsonSerializer

A JSON serializer based on System.Text.Json.

TypeSerializerExtensions

UnixMillisecondsConverter

Newtonsoft.Json.JsonConverter which serializes a DateTime property as milliseconds since the Unix epoch. This is an alternative to the default ISO8601 format.

Interfaces

IBufferedTypeSerializer

Extension of ITypeSerializer which can read from ReadOnlySequence<T> and write to IBufferWriter<T>.

ICustomObjectCreator

Used to control type creation during deserialization. For example, it can be used to create object proxies.

IExtendedTypeSerializer

Provides an interface for serialization and deserialization of K/V pairs, with support for more advanced deserialization features.

IJsonStreamReader

Reads values and objects from a JSON stream asynchronously.

IJsonToken

Used to support dynamic object reading during streaming JSON deserialization.

IProjectableTypeDeserializer

Extends ITypeSerializer with methods for parsing projections from key/value responses. If not present, calling ContentAs<T>() for a LookupIn sub-document operation or for a get operation with projections will fallback to using DefaultSerializer.

IProjectionBuilder

Interface for projecting sub-document operations onto a target class.

IStreamingTypeDeserializer

Extends ITypeSerializer with methods for deserializing a stream gradually. This allows deserialization to begin before the entire stream is available, and can reduce memory utilization if the result is processed as a stream rather than placed in a list.

ITypeSerializer

Provides an interface for serialization and deserialization of K/V pairs.

ITypeSerializerProvider

Provides access to an ITypeSerializer related to the object.

In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.