Return the number of elements in the JsonObject or JsonArray held by this object. The behavior is undefined unless isArray() || isObject() evaluates to true.
Declared in <bdljsn_json.h>
std::size_t
size() const;
the number of elements in this container