serialize( config?: ToJsonConfiguration,): Promise< { barcode?: { dataBarStackSize?: number; encodeImages?: () => Promise<void>; extendedQuad?: Point[]; extendedQuadNormalized?: Point[]; extractedDocument?: | { children?: { children?: { readonly type?: { readonly name?: string | undefined; readonly fullName?: string | undefined; readonly normalizedName?: string | undefined; readonly listIndex?: number | null | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; } | undefined; ... 9 more ...; encodeImages?: (() ...
; confidence?: (...)
| (...)
; confidenceWeight?: (...)
| (...)
; crop?: (...)
| (...)
| (...)
; encodeImages?: (...)
| (...)
; fields?: (...)
| (...)
; quad?: (...)
| (...)
; quadInRoot?: (...)
| (...)
; release?: (...)
| (...)
; serialize?: (...)
| (...)
; type?: (...)
| (...)
; }[]; confidence?: number; confidenceWeight?: number; crop?: | { buffer?: (...)
| (...)
; clear?: (...)
| (...)
; encodeImage?: (...)
| (...)
; encodeInPlace?: (...)
| (...)
; hibernate?: (...)
| (...)
; info?: (...)
| (...)
; isRetained?: (...)
| (...)
; release?: (...)
| (...)
; retain?: (...)
| (...)
; saveImage?: (...)
| (...)
; serialize?: (...)
| (...)
; uniqueId?: (...)
| (...)
; } & {} | null; encodeImages?: () => Promise<void>; fields?: { confidenceWeight?: (...)
| (...)
; encodeImages?: (...)
| (...)
; image?: (...)
| (...)
| (...)
; parsedData?: (...)
| (...)
; polygonInRoot?: (...)
| (...)
; release?: (...)
| (...)
; serialize?: (...)
| (...)
; type?: (...)
| (...)
; validationStatus?: (...)
| (...)
; value?: (...)
| (...)
| (...)
; }[]; quad?: Point[]; quadInRoot?: Point[]; release?: () => void; serialize?: ( config?: ToJsonConfiguration, ) => Promise< { children?: ...
; confidence?: ...
; confidenceWeight?: ...
; crop?: ...
; encodeImages?: ...
; fields?: ...
; quad?: ...
; quadInRoot?: ...
; release?: ...
; serialize?: ...
; type?: ...
; }, >; type?: { fullName?: string; listIndex?: number | null; name?: string; normalizedName?: string; serialize?: (config?: ...
) => ...
; }; } & {} | null; format?: BarcodeFormat; globalIndex?: number; isGS1CompositePart?: boolean; isGS1Message?: boolean; isUpsideDown?: boolean; quad?: Point[]; quadNormalized?: Point[]; rawBytes?: string; rawBytesEncodings?: { encoding?: CharacterEncoding; end?: number; serialize?: ( config?: ToJsonConfiguration, ) => { readonly start?: number | undefined; readonly end?: number | undefined; readonly encoding?: CharacterEncoding | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }
; start?: number; }[]; release?: () => void; serialize?: ( config?: ToJsonConfiguration, ) => Promise< (
{ readonly format?: BarcodeFormat | undefined; readonly text?: string | undefined; readonly rawBytes?: string | undefined; readonly rawBytesEncodings?: { readonly start?: number | undefined; readonly end?: number | undefined; readonly encoding?: CharacterEncoding | undefined; serialize?: ((config?: ToJsonConfigurati...
)
, >; sizeScore?: number; sourceImage?: | { buffer?: string; clear?: () => Promise<void>; encodeImage?: (options?: EncodeImageOptions) => Promise<(...)
| (...)
>; encodeInPlace?: () => Promise<void>; hibernate?: () => Promise<void>; info?: () => Promise<(...)
| (...)
>; isRetained?: () => boolean; release?: () => void; retain?: () => void; saveImage?: ( path: string, options?: SaveImageOptions, ) => Promise<boolean>; serialize?: ( imageSerializationMode: ImageSerializationMode, ) => Promise<(...)
| (...)
>; uniqueId?: string; } & {} | null; structuredAppendInfo?: | { count?: number; id?: string; index?: number; serialize?: ( config?: ToJsonConfiguration, ) => { count?: (...)
| (...)
; id?: (...)
| (...)
; index?: (...)
| (...)
; serialize?: ((config?: ToJsonConfiguration | undefined) => { readonly count?: number | undefined; readonly index?: number | undefined; readonly id?: string | undefined; serialize?: ... | undefined; }) | undefined
; }; } & {} | null; text?: string; upcEanExtension?: string; }; count?: number; encodeImages?: () => Promise<void>; release?: () => void; serialize?: ( config?: ToJsonConfiguration, ) => Promise<{ readonly barcode?: { readonly format?: BarcodeFormat | undefined; readonly text?: string | undefined; readonly rawBytes?: string | undefined; readonly rawBytesEncodings?: { readonly start?: number | undefined; readonly end?: number | undefined; readonly encoding?: CharacterEncoding | undefined; serialize?:...
; },>
Data about the scanned barcode.