decodeJson¶
Canonical path: o6.decodeJson
decodeJson
¶
Decode a JSON-encoded OPC UA value.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
bytes
|
The OPC UA JSON representation to read. |
required |
dataType
|
type[_NativeT]
|
The expected type. |
required |
Returns:
| Type | Description |
|---|---|
_NativeT
|
The decoded value of type |
Raises:
| Type | Description |
|---|---|
StatusCodeError
|
|