jsonToString (Function) |
Top Previous Next |
jsonToString creates a string representation of the JSON structure. If indent is set to 0, it will be a compact string with no indentation or newlines, otherwise it will use newlines between items and use indentation.
Input: o : SYSHANDLE A handle to the JSON structure.
indent: SINT (0..31, Default 3) The number of spaces to use for indentation. If set to 0, the string will not use indentation and will be on a single line.
Output: str : STRING The generated string.
Returns: INT
Declaration: FUNCTION jsonToString : INT;
Example: INCLUDE rtcu.inc
|