jsonGetString (Function) |
Top Previous Next |
jsonGetString reads a string from the provided JSON object or array.
When working on a JSON object, set the key parameter to the name of the value to get. When working on a JSON array, idx must be set to the index of the element to get.
Input: o : SYSHANDLE A handle to the JSON array or object to work on.
idx : INT (Default -1) Index to use when working on a JSON array.
key : STRING The name of the value when working on a JSON object.
Output: value : STRING The value of the element.
Returns: INT
Declaration: FUNCTION jsonGetString : INT;
Example: INCLUDE rtcu.inc
|