zplCore.comzplCore.com

Gs1DigitalLinkParseOptions

public sealed class Gs1DigitalLinkParseOptions

Options for Gs1DigitalLink.Parse.

Constructors

SignatureDescription
# Gs1DigitalLinkParseOptions()

Properties

PropertyTypeDescription
DecodeLegacyCompression { get; init; }boolTry 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; }boolAccept 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; }boolAccept 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.