Enumerations
JNodeType enumeration
Signature
Enum JNodeType
jntObject = 1
jntArray = 2
jntString = 3
jntNumber = 4
jntBoolean = 5
jntNull = 6
End Enum
Summary
The kind of a JSON node.
Parameters
Remarks
None
Code example
None
Inheritance
None
JDateZone enumeration
Signature
Enum JDateZone
jdzLocal = 0
jdzUtc = 1
jdzAsWritten = 2
End Enum
Summary
How times with a zone are read into a VBA Date.
Parameters
| Constant | Value | Description |
|---|---|---|
jdzLocal | 0 | Converted to local time, as Now() shows it (default). |
jdzUtc | 1 | Converted to UTC. |
jdzAsWritten | 2 | The zone is ignored; date and time stay as written. |
Remarks
None
Code example
None
Inheritance
None
JErrorCode enumeration
Signature
Enum JErrorCode
jeParseError = &H80040201
jePathSyntax = &H80040202
jeNotFound = &H80040203
jeTypeMismatch = &H80040204
jeInvalidOperation = &H80040205
jeIndexOutOfRange = &H80040206
jeFileError = &H80040207
jeUnsupportedValue = &H80040208
End Enum
Summary
The error numbers of WKL Office JSON, as Err.Number shows them.
Parameters
| Constant | Value | Description |
|---|---|---|
jeParseError | &H80040201 | The JSON text is invalid (vbObjectError + 513). Reported in ParseError.ErrorCode by LoadJson and Load; raised by a getter without default on a document whose last load failed. |
jePathSyntax | &H80040202 | The JPath expression is invalid (vbObjectError + 514). |
jeNotFound | &H80040203 | The path or key does not exist (vbObjectError + 515). |
jeTypeMismatch | &H80040204 | The value cannot be converted to the requested type (vbObjectError + 516). |
jeInvalidOperation | &H80040205 | The operation is not possible for this kind of node (vbObjectError + 517). |
jeIndexOutOfRange | &H80040206 | The position is outside the array (vbObjectError + 518). |
jeFileError | &H80040207 | The file cannot be read or written (vbObjectError + 519). Reported in ParseError by Load; raised by Save, and by a getter without default after a failed Load. |
jeUnsupportedValue | &H80040208 | The value has no JSON form (vbObjectError + 520). |
Remarks
The numbers are FACILITY_ITF values in the range Microsoft reserves for component-defined errors, so they never collide with system errors. Err.Source is WklJSON; Err.Description names the path or position.
Code example
None
Inheritance
None
en/wiki/msaccess/json/api-reference/enumerations.txt · Last modified: by Wolfgang van der Stille