Parser Result
Defined in namespace Scandit.DataCapture.Parser
- ParsedData
class ParsedData
Added in version 6.5.0
Holds the result of a successfully parsed data string or raw data. Instances of this class are returned by Parser.ParseString() and Parser.ParseRawData() methods. The parsed data is divided into fields, each identified by a name.
The data contained in this result object can be accessed in one of the following ways:
Through an array of parser fields (see Fields).
Through a dictionary that maps field names to the field (see FieldsByName).
Directly as a JSON string (see JsonString).
- JsonString
string
JsonString { get; }Added in version 6.5.0
The result object as a serialized JSON string.
- FieldsByName
IDictionary<
string
, ParsedField> FieldsByName { get; }Added in version 6.5.0
Provides by-name lookup of the fields. The field names are data format specific. Consult the data format documentation for information on available fields.
- Fields
IList<ParsedField> Fields { get; }
Added in version 6.5.0
The order of the fields matches the order in the original data string. The fields are data format specific. Consult the data format documentation for information on available fields.