GetJSONValue Procedure
Reads the value at Path and returns the value as JsonValue.
Signature
GetJSONValue(JsonObj: JsonObject; Path: Text; var Result: JsonValue; DefaultIfUndefined: Boolean) : Boolean
Parameters
JsonObj JsonObject
The JsonObject to read from.
Path Text
The JSONPath expression that will be used to get the requested value.
var Result JsonValue
The found value.
DefaultIfUndefined Boolean
If true an error is not thrown if the value doesn't exist. Instead a Undefined value is returned. If false an error is thrown if the value doesn't exist.
Returns
Boolean
true if the value was found, otherwise false.
This documentation is generated from Smart Toolbox v27.1