BloombergLP::bdljsn::JsonObject::JsonObject

Constructors

Synopses

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...

Parameters

NameDescription
originalsource object
basicAllocatormemory allocator; null uses the default
memberInitializersinitializer-list of members
firstbeginning of the source range
lastend of the source range