AMX Mod X API Documentation

Signature
native json_serial_to_string(const JSON:value, buffer[], maxlen, bool:pretty = false);
Description

Copies serialized string to the buffer.

Parameters
  • 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
Returns

The number of cells written to the buffer

Errors
  • If passed handle is not a valid value
Назад
Верх