Method

JsonReadercount_members

Declaration [src]

gint
json_reader_count_members (
  JsonReader* reader
)

Description [src]

Counts the members of the current position, if the reader is positioned on an object.

In case of failure, the reader is set to an error state.

Available since:0.12

Return value

Returns: gint
 

The number of members, or -1