Table of Contents

Class BarcodeFormatConverter

Namespace
ScanbotSDK.MAUI.Barcode
Assembly
ScanbotSDK.Shared.dll
public class BarcodeFormatConverter : JsonConverter<BarcodeFormat>
Inheritance
BarcodeFormatConverter
Inherited Members

Constructors

BarcodeFormatConverter()

public BarcodeFormatConverter()

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

public override BarcodeFormat Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)

Parameters

reader Utf8JsonReader
typeToConvert Type
options JsonSerializerOptions

Returns

BarcodeFormat

Write(Utf8JsonWriter, BarcodeFormat, JsonSerializerOptions)

public override void Write(Utf8JsonWriter writer, BarcodeFormat color, JsonSerializerOptions options)

Parameters

writer Utf8JsonWriter
color BarcodeFormat
options JsonSerializerOptions