Interface IExtendedTypeSerializer
Provides an interface for serialization and deserialization of K/V pairs, with support for more advanced deserialization features.
Inherited Members
Namespace: Couchbase.Core.IO.Serializers
Assembly: Couchbase.NetClient.dll
Syntax
public interface IExtendedTypeSerializer : ITypeSerializer
Properties
| Edit this page View SourceDeserializationOptions
Provides custom deserialization options. Options not listed in SupportedDeserializationOptions will be ignored. If null, then defaults will be used.
Declaration
DeserializationOptions? DeserializationOptions { get; set; }
Property Value
Type | Description |
---|---|
DeserializationOptions |
SupportedDeserializationOptions
Informs consumers what deserialization options this IExtendedTypeSerializer supports.
Declaration
SupportedDeserializationOptions SupportedDeserializationOptions { get; }
Property Value
Type | Description |
---|---|
SupportedDeserializationOptions |
Methods
| Edit this page View SourceGetMemberName(MemberInfo)
Get the name which will be used for a given member during serialization/deserialization.
Declaration
string? GetMemberName(MemberInfo member)
Parameters
Type | Name | Description |
---|---|---|
MemberInfo | member | Returns the name of this member. |
Returns
Type | Description |
---|---|
string | The name which will be used for a given member during serialization/deserialization, or null if if will not be serialized. |