public sealed class Gs1DigitalLinkParseOptions
Options for Gs1DigitalLink.Parse.
Constructors
| Signature | Description |
# Gs1DigitalLinkParseOptions() | |
Properties
| Property | Type | Description |
DecodeLegacyCompression { get; init; } | bool | Try to decode URIs that use the legacy compression of the GS1 Digital Link Standard 1.1/1.2 (superseded, see Gs1DigitalLink.Decompress). Default true. |
PermitConvenienceAlphas { get; init; } | bool | Accept the convenience alphas (/gtin/, /lot/, /ser/ …) with a warning (removed from the standard in URI Syntax 1.3.0). Default false: they are an error. |
PermitZeroSuppressedGtin { get; init; } | bool | Accept a GTIN-8/12/13 in AI (01) and pad it to 14 digits, with a warning (legacy form; URI Syntax 1.4.0 and later require 14 digits). Default false: a short GTIN is an error. |