Skip to content

JSON_GET_FLOAT_A

Jurek Muszyński edited this page Sep 11, 2018 · 1 revision

double JSON_GET_FLOAT_A(JSON json, int index)

Description

Retrieves float value from JSON array.

Returns

Retrieved value.

Example

for ( int i=0; i<JSON_COUNT(json); ++i )
    OUT("<p>%d-th balance: %.2f</p>", i, JSON_GET_FLOAT_A(json, i));
Clone this wiki locally