layout | title | description | keywords | needAutoGenerateSidebar | needGenerateH3Content | noTitleIndex |
---|---|---|---|---|---|---|
default-layout |
CodeParser Module - Dynamsoft Code Parser JavaScript Edition API |
This page introduces the CodeParser module in Dynamsoft Code Parser JavaScript Edition. |
code parser, module, api reference, javascript, js |
true |
true |
true |
The CodeParser module is defined in the namespace Dynamsoft.DCP
. It includes the classes CodeParser
and CodeParserModule
along with a few interfaces and enumerations.
This class defines common functionality in the CodeParser
module. At present, there is only one API.
API Name | Description |
---|---|
static getVersion() |
Returns the version of the CodeParser module. |
static loadSpec() |
Loads the specification for a certain type of code strings. |
The CodeParser
class enable users to parse given bytes or a string.
Method | Description |
---|---|
static createInstance() |
Initializes a new instance of the CodeParser class. |
dispose() | Releases all resources used by the CodeParser object. |
disposed | Returns whether the CodeParser object has been disposed of. |
initSettings | Initializes runtime settings with the settings in a given JSON string. |
resetSettings | Resets runtime settings to default. |
parse | Parses code data for readable results. |
- [EnumMappingStatus]({{ site.dcv_enumerations }}code-parser/mapping-status.html)
- [EnumValidationStatus]({{ site.dcv_enumerations }}code-parser/validation-status.html)