GetByte Procedure
Reads the value at Path and returns the value as Byte
.
An error will be thrown if the value doesn't exist.
Overloads
Name | Description |
---|---|
GetByte(JsonObject; Text): Byte | Reads the value at Path and returns the value as Byte . |
GetByte(JsonObject; Text; Boolean): Byte | Reads the value at Path and returns the value as Byte . |
GetByte(JsonObject; Text) Procedure
Reads the value at Path and returns the value as Byte
.
An error will be thrown if the value doesn't exist.
Signature
GetByte(JsonObj: JsonObject; Path: Text) : Byte
Parameters
JsonObj
JsonObject
The JsonObject to read from.
Path
Text
The JSONPath expression that will be used to get the requested value.
Returns
Byte
The value found at Path as Byte
.
GetByte(JsonObject; Text; Boolean) Procedure
Reads the value at Path and returns the value as Byte
.
Signature
GetByte(JsonObj: JsonObject; Path: Text; DefaultIfUndefined: Boolean) : Byte
Parameters
JsonObj
JsonObject
The JsonObject to read from.
Path
Text
The JSONPath expression that will be used to get the requested value.
DefaultIfUndefined
Boolean
If true
an error is not thrown if the value doesn't exist. Instead a blank Byte is returned. If false
an error is thrown if the value doesn't exist.
Returns
Byte
The value found at Path as Byte
.
This documentation is generated from Smart Toolbox v27.0