Signature
native bool:json_array_clear(JSON:array);
Description
Removes all elements from the array.
Parameters
- array — Array handle
Returns
True if succeed, false otherwise
Errors
- If passed handle is not a valid array