json_object_get_number

Syntax

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

Usage

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

Description

Gets a number from the object.

Note

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

Return

Number

Error

If passed handle is not a valid object