json_object_remove

Синтаксис

native bool:json_object_remove(JSON:object, const name[], bool:dot_not = false);

Употреба

object
Object handle
name
Key name
dot_not
True to use dot notation, false to not

Описание

Removes a key and its value in the object.

Забележка

If dot notation is used some values may be inaccessible
because valid names in JSON can contain dots.

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

True if succeed, false otherwise

Грешка

If passed handle is not a valid object