BloombergLP::bdljsn::JsonArray::pushBack

pushBack overloads

Synopses

Declared in <bdljsn_json.h>

Same as the related overload above for pushBack.

JsonArray&
pushBack(bdldfp::Decimal64 value);
» more...

Same as the related overload above for pushBack.

JsonArray&
pushBack(bool value);
» more...

Same as the related overload above for pushBack.

JsonArray&
pushBack(double value);
» more...

Same as the related overload above for pushBack.

JsonArray&
pushBack(float value);
» more...

Same as the related overload above for pushBack.

JsonArray&
pushBack(int value);
» more...

Same as the related overload above for pushBack.

JsonArray&
pushBack(long value);
» more...

Same as the related overload above for pushBack.

JsonArray&
pushBack(long long value);
» more...

Same as the related overload above for pushBack.

JsonArray&
pushBack(unsigned int value);
» more...

Same as the related overload above for pushBack.

JsonArray&
pushBack(unsigned long value);
» more...

Same as the related overload above for pushBack.

JsonArray&
pushBack(unsigned long long value);
» more...

Move-append the specified json to this array.

JsonArray&
pushBack(bslmf::MovableRef<Json> json);
» more...

Move-append the specified array to this array.

JsonArray&
pushBack(bslmf::MovableRef<JsonArray> array);
» more...

Move-append the specified number to this array.

JsonArray&
pushBack(bslmf::MovableRef<JsonNumber> number);
» more...

Move-append the specified object to this array.

JsonArray&
pushBack(bslmf::MovableRef<JsonObject> object);
» more...

Append a copy of the specified json to this array.

JsonArray&
pushBack(Json const& json);
» more...

Append a copy of the specified array to this array.

JsonArray&
pushBack(JsonArray const& array);
» more...

Append a copy of the specified value to this array.

JsonArray&
pushBack(JsonNull const& value);
» more...

Append a copy of the specified number to this array.

JsonArray&
pushBack(JsonNumber const& number);
» more...

Append a copy of the specified object to this array.

JsonArray&
pushBack(JsonObject const& object);
» more...

Same as the related overload above for pushBack.

JsonArray&
pushBack(std::string_view const& string);
» more...

Append a copy of the specified string to this array.

JsonArray&
pushBack(char const* string);
» more...

Move-append the specified string to this array.

template<class t_STRING_TYPE>
JsonArray&
pushBack(BloombergLP::bslmf::MovableRef_Deduced<t_STRING_TYPE> string)
requires bsl::is_same<t_STRING_TYPE,
                                         bsl::string>::value;
» more...

Return Value

  • a reference providing modifiable access to this object
  • non-const reference to this array

Parameters

NameDescription
valuevalue to append
jsonvalue to append
arrayvalue to append
numbervalue to append
objectvalue to append
stringstring value to append