native
json_serial_to_file
Syntax
native bool:json_serial_to_file(const JSON:value, const file[], bool:pretty = false);
Description
Copies serialized string to the file.
Parameters
| value | JSON 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