Constructors
Declared in <bdljsn_json.h>
Create an empty JsonObject.
JsonObject();
» more...
Create a JsonObject by moving from the specified original.
JsonObject(bslmf::MovableRef<JsonObject> original) noexcept;
» more...
Create an empty JsonObject using the specified basicAllocator.
explicit
JsonObject(bslma::Allocator* basicAllocator);
» more...
Create a JsonObject by moving from original using basicAllocator.
JsonObject(
bslmf::MovableRef<JsonObject> original,
bslma::Allocator* basicAllocator);
» more...
Create a JsonObject from the specified memberInitializers.
JsonObject(
std::initializer_list<JsonObject_MemberInitializer> memberInitializers,
bslma::Allocator* basicAllocator = 0);
» more...
Create a JsonObject having the same value as original.
JsonObject(
JsonObject const& original,
bslma::Allocator* basicAllocator = 0);
» more...
Create a JsonObject from the range [first, last)].
template<class t_INPUT_ITERATOR>
JsonObject(
t_INPUT_ITERATOR first,
t_INPUT_ITERATOR last,
bslma::Allocator* basicAllocator = 0);
» more...
| Name | Description |
|---|---|
| original | source object |
| basicAllocator | memory allocator; null uses the default |
| memberInitializers | initializer-list of members |
| first | beginning of the source range |
| last | end of the source range |