Constructors
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...
| Name | Description |
|---|---|
| original | source array |
| basicAllocator | memory allocator; null uses the default |
| elements | initializer-list of element values |
| first | beginning of the source range |
| last | end of the source range |