native

json_object_clear

Syntax

native bool:json_object_clear(JSON:object);

Description

Removes all keys and their values in the object.

Parameters

object Object handle

Return

True if succeed, false otherwise

Error

If passed handle is not a valid object