Return the number of elements in the JsonObject or JsonArray held by this object. The behavior is undefined unless isArray() || isObject() evaluates to true.

Synopsis

Declared in <bdljsn_json.h>

std::size_t
size() const;

Return Value

the number of elements in this container

Created with MrDocs