BloombergLP::bdljsn::JsonArray::clear

Remove all elements from this array.

Synopsis

Declared in <bdljsn_json.h>

void
clear();

Description

Remove all elements from this JsonArray making its size 0. Note that although this JsonArray is empty after this method returns, it preserves the same capacity it had before the method was called.