json_array_clear

Syntax

native bool:json_array_clear(JSON:array);

Usage

array
Array handle

Description

Removes all elements from the array.

Return

True if succeed, false otherwise

Error

If passed handle is not a valid array