json_object_get_value_at

Syntax

native JSON:json_object_get_value_at(const JSON:object, index);

Usage

object
Object handle
index
Position from which get key name
buffer
Buffer to copy string to
maxlen
Maximum size of the buffer

Description

Gets a value at the specified position from the object.

Note

Needs to be freed using json_free() native.

Return

The number of cells written to the buffer

Error

If passed handle is not a valid object