AMX Mod X API Documentation

Signature
native json_serial_size(const JSON:value, bool:pretty = false, bool:null_byte = false);
Description

Gets size of serialization.

Parameters
  • value JSON handle
  • pretty True to count size for pretty format, false to not
  • null_byte True to include null byte, false to not
Returns

Size of serialized string

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