grip_json_serial_to_string

Copies serialized string to the buffer.

Syntax

native grip_json_serial_to_string(const GripJSONValue:value, buffer[], maxlen, bool:pretty = false, recursion_limit = 100)

Usage

value JSON handle
buffer Buffer to copy string to
maxlen Maximum size of the buffer
pretty True to format pretty JSON string, false to not
recursion_limit Limit of the internal recursion

Return

The — number of cells written to the buffer

Errors

If passed handle is not a valid value

Defined in grip.inc at line 1058 . This documentation was automatically generated from source.