Class Gs1HandlingConverter
- Namespace
- ScanbotSDK.MAUI.Barcode
- Assembly
- ScanbotSDK.Shared.dll
GS1_COMPOSITE barcode type handling
public class Gs1HandlingConverter : JsonConverter<Gs1Handling>
- Inheritance
-
Gs1HandlingConverter
- Inherited Members
Methods
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Reads and converts the JSON to type Gs1Handling.
public override Gs1Handling Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
readerUtf8JsonReaderThe reader.
typeToConvertTypeThe type to convert.
optionsJsonSerializerOptionsAn object that specifies serialization options to use.
Returns
- Gs1Handling
The converted value.
Write(Utf8JsonWriter, Gs1Handling, JsonSerializerOptions)
Writes a specified value as JSON.
public override void Write(Utf8JsonWriter writer, Gs1Handling color, JsonSerializerOptions options)
Parameters
writerUtf8JsonWriterThe writer to write to.
colorGs1HandlingoptionsJsonSerializerOptionsAn object that specifies serialization options to use.