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
reader
Utf8JsonReaderThe reader.
typeToConvert
TypeThe type to convert.
options
JsonSerializerOptionsAn 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
writer
Utf8JsonWriterThe writer to write to.
color
Gs1Handlingoptions
JsonSerializerOptionsAn object that specifies serialization options to use.