AMX Mod X API Documentation

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

Gets a value from the object.

Notes
  • Needs to be freed using json_free() native.
  • If dot notation is used some values may be inaccessible

    because valid names in JSON can contain dots.

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

JSON handle, Invalid_JSON if error occurred

Errors
  • If passed handle is not a valid object
Назад
Верх