Reader.countMembers

int countMembers()

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.

Returns

the number of members, or -1