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