Show / Hide Table of Contents

# Class DefaultAnybillSerializer

A System.Text.Json-based serializer used for the IAnybillClient.

##### Inheritance

System.Object
DefaultAnybillSerializerBase
DefaultAnybillSerializer

##### Implements

IAnybillSerializer

##### Inherited Members

DefaultAnybillSerializerBase.Deserialize<T>(String)
DefaultAnybillSerializerBase.DeserializeAsync<T>(Stream, CancellationToken)
DefaultAnybillSerializerBase.Serialize<T>(T)

###### Namespace: anybill.POS.Client.Serialization

###### Assembly: anybill.POS.Client.dll

##### Syntax

    public class DefaultAnybillSerializer : DefaultAnybillSerializerBase, IAnybillSerializer

### Methods

#### CreateJsonSerializerOptions()

Creates the anybill.POS.Client.Serialization.DefaultAnybillSerializerBase.JsonSerializerOptions to use whith System.Text.Json.

##### Declaration

    protected override JsonSerializerOptions CreateJsonSerializerOptions()

##### Returns

Type | Description
--- | ---
System.Text.Json.JsonSerializerOptions | An instance of anybill.POS.Client.Serialization.DefaultAnybillSerializerBase.JsonSerializerOptions.

##### Overrides

DefaultAnybillSerializerBase.CreateJsonSerializerOptions()

### Implements

IAnybillSerializer