Signal

JsonParser::array-element

deprecated: 1.10 since: 1.0

Declaration

void
array_element (
  JsonParser* self,
  JsonArray* array,
  gint index_,
  gpointer user_data
)

Description [src]

The ::array-element signal is emitted each time a parser has successfully parsed a single element of a JSON array.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Available since: 1.0
Deprecated since: 1.10

Derive your own parser type from JsonParser and override the Json.ParserClass.array_element virtual function.

Parameters

array

Type: JsonArray

A JSON array.

The data is owned by the caller of the function.
index_

Type: gint

The index of the newly parsed array element.