The ParsedResultItem interface provides a structure representing the result items returned by Dynamsoft Code Parser.

interface ParsedResultItem {
    codeType: string;
    jsonString: string;
    parsedFields?: Record<string, ParsedField>;
    targetROIDefName?: string;
    taskName?: string;
    type: number;
}

Hierarchy (View Summary)

Properties

codeType: string

The code type of the parsed result.

jsonString: string

The parsed result as a JSON formatted string.

parsedFields?: Record<string, ParsedField>

Optional fields containing parsed data. Each field represents a specific component of the parsed code, such as a value, mapping status, or validation status. The key is the field name, and the value is an object containing additional details.

targetROIDefName?: string

the name of the TargetROIDef object which includes a task that generated the result.

taskName?: string

The name of the task that generated the result.

type: number

The type of the captured result item.