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