GetChar Procedure
Reads the value at Path and returns the value as Char.
An error will be thrown if the value doesn't exist.
Overloads
| Name | Description |
|---|---|
| GetChar(JsonObject; Text): Char | Reads the value at Path and returns the value as Char. |
| GetChar(JsonObject; Text; Boolean): Char | Reads the value at Path and returns the value as Char. |
GetChar(JsonObject; Text) Procedure
Reads the value at Path and returns the value as Char.
An error will be thrown if the value doesn't exist.
Signature
GetChar(JsonObj: JsonObject; Path: Text) : Char
Parameters
JsonObj JsonObject
The JsonObject to read from.
Path Text
The JSONPath expression that will be used to get the requested value.
Returns
Char
The value found at Path as Char.
GetChar(JsonObject; Text; Boolean) Procedure
Reads the value at Path and returns the value as Char.
Signature
GetChar(JsonObj: JsonObject; Path: Text; DefaultIfUndefined: Boolean) : Char
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 Char is returned. If false an error is thrown if the value doesn't exist.
Returns
Char
The value found at Path as Char.
This documentation is generated from Smart Toolbox v27.1