native

ezjson_serial_to_file

Syntax

native bool:ezjson_serial_to_file(const EzJSON:value, const file[], bool:pretty = false);

Description

Copies serialized string to the file.

Parameters

value EzJSON handle
file Path to the file
pretty True to format pretty JSON string, false to not

Return

True if succeed, false otherwise

Error

If passed handle is not a valid value