Return a theoretical upper bound on this array's maximum size.
Declared in <bdljsn_json.h>
std::size_t
maxSize() const noexcept;
Return a theoretical upper bound on the largest number of elements that this JsonArray could possibly hold. Requests to create a JsonArray longer than this number of elements are guaranteed to raise a bsl::length_error exception. Note that there is no guarantee that the JsonArray can successfully grow to the returned size, or even close to that size, without running out of resources.
theoretical upper bound on this array's maximum size