native

json_object_get_name

Syntax

native json_object_get_name(const JSON:object, index, buffer[], maxlen);

Description

Gets name of the object's key.

Parameters

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

Return

The number of cells written to the buffer

Error

If passed handle is not a valid object