Interface ParsedResultItem
Interface ParsedResultItem represents the most basic unit of a parsed result. It includes specific details relevant to the parsed data, including the code type, the raw JSON string, and a map of the individual parsed fields.
Definition
Assembly: dynamsoft-capture-vision-react-native
interface ParsedResultItem extends CapturedResultItem
Properties
| Property | Type | Description |
|---|---|---|
parsedFields |
Map<String, ParsedField> | A map of parsed fields extracted from the parsed result. |
jsonString |
String | The raw JSON string representation of the parsed result. |
codeType |
String | The type of the encrypted code associated to the attached parsed result. |
The following methods are inherited from CapturedResultItem.
| Property | Type | Description |
|---|---|---|
targetROIDefName |
String | The name of the target region of interest (ROI) where the captured result was found. |
taskName |
String | The name of the recognition task that produced the CapturedResultItem. |
type |
EnumCapturedResultItemType | The type of the captured result item. |
parsedFields
A map of the parsed fields extracted from the parsed result.
- Key: The field names of the code. Check the available field names
- Value:
ParsedField
parsedFields?: Record<string, ParsedField>
jsonString
The text of the parsed result as a JSON string.
jsonString: string
codeType
The type of the encrypted code associated to the attached parsed result. The code can be a MRZ document (passport, visa, etc.), a driver license (North America or South Africa), or an Aadhar card.
codeType: string