ezjson_serial_to_string

Syntax

native ezjson_serial_to_string(const EzJSON:value, buffer[], maxlen, bool:pretty = false);

Usage

Parameter Description
value
EzJSON handle
buffer
Buffer to copy string to
maxlen
Maximum size of the buffer
pretty
True to format pretty JSON string, false to not

Description

Copies serialized string to the buffer.

Return

The number of cells written to the buffer

Error

If passed handle is not a valid value