Table of Contents

Class DocumentAnalysisModeConverter

Namespace
ScanbotSDK.MAUI.Document
Assembly
ScanbotSDK.Shared.dll

Determines if the quality analysis for the acknowledgement mode will run on the filtered or the unfiltered image.

public class DocumentAnalysisModeConverter : JsonConverter<DocumentAnalysisMode>
Inheritance
DocumentAnalysisModeConverter
Inherited Members

Methods

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Reads and converts the JSON to type DocumentAnalysisMode.

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

Parameters

reader Utf8JsonReader

The reader.

typeToConvert Type

The type to convert.

options JsonSerializerOptions

An object that specifies serialization options to use.

Returns

DocumentAnalysisMode

The converted value.

Write(Utf8JsonWriter, DocumentAnalysisMode, JsonSerializerOptions)

Writes a specified value as JSON.

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

Parameters

writer Utf8JsonWriter

The writer to write to.

color DocumentAnalysisMode
options JsonSerializerOptions

An object that specifies serialization options to use.