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
readerUtf8JsonReaderThe reader.
typeToConvertTypeThe type to convert.
optionsJsonSerializerOptionsAn 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
writerUtf8JsonWriterThe writer to write to.
colorDocumentAnalysisModeoptionsJsonSerializerOptionsAn object that specifies serialization options to use.