json_serial_size

Синтаксис

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

Употреба

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

Описание

Gets size of serialization.

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

Size of serialized string

Грешка

If passed handle is not a valid value