json_serial_to_file

Синтаксис

native bool:json_serial_to_file(const JSON:value, const file[], bool:pretty = false);

Употреба

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

Описание

Copies serialized string to the file.

Връщаща стойност

True if succeed, false otherwise

Грешка

If passed handle is not a valid value