json_array_get_number

Syntax

native json_array_get_number(const JSON:array, index);

Usage

array
Array handle
index
Position in the array (starting from 0)

Description

Gets a number from the array.

Return

The number as integer

Error

If passed handle is not a valid array