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