BloombergLP::bdljsn::JsonArray::JsonArray

Constructors

Synopses

Declared in <bdljsn_json.h>

Create an empty JsonArray.

JsonArray();
» more...

Create a JsonArray by moving from the specified original.

JsonArray(bslmf::MovableRef<JsonArray> original) noexcept;
» more...

Create an empty JsonArray using the specified basicAllocator.

explicit
JsonArray(bslma::Allocator* basicAllocator);
» more...

Create a JsonArray by moving from original using basicAllocator.

JsonArray(
    bslmf::MovableRef<JsonArray> original,
    bslma::Allocator* basicAllocator);
» more...

Create a JsonArray from the specified elements.

JsonArray(
    std::initializer_list<Json_Initializer> elements,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a JsonArray having the same value as the specified original.

JsonArray(
    JsonArray const& original,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a JsonArray from the range [first, last)].

template<class t_INPUT_ITERATOR>
JsonArray(
    t_INPUT_ITERATOR first,
    t_INPUT_ITERATOR last,
    bslma::Allocator* basicAllocator = 0);
» more...

Parameters

NameDescription
originalsource array
basicAllocatormemory allocator; null uses the default
elementsinitializer-list of element values
firstbeginning of the source range
lastend of the source range