pushBack overloads

Synopses

Declared in <bdljsn_json.h>

Same as the related overload above for pushBack.

Same as the related overload above for pushBack.

JsonArray&
pushBack(bool value);

Same as the related overload above for pushBack.

JsonArray&
pushBack(double value);

Same as the related overload above for pushBack.

JsonArray&
pushBack(float value);

Same as the related overload above for pushBack.

JsonArray&
pushBack(int value);

Same as the related overload above for pushBack.

JsonArray&
pushBack(long value);

Same as the related overload above for pushBack.

JsonArray&
pushBack(long long value);

Same as the related overload above for pushBack.

JsonArray&
pushBack(unsigned int value);

Same as the related overload above for pushBack.

JsonArray&
pushBack(unsigned long value);

Same as the related overload above for pushBack.

JsonArray&
pushBack(unsigned long long value);

Move‐append the specified json to this array.

Move‐append the specified array to this array.

Move‐append the specified number to this array.

Move‐append the specified object to this array.

Append a copy of the specified json to this array.

JsonArray&
pushBack(Json const& json);

Append a copy of the specified array to this array.

JsonArray&
pushBack(JsonArray const& array);

Append a copy of the specified value to this array.

JsonArray&
pushBack(JsonNull const& value);

Append a copy of the specified number to this array.

JsonArray&
pushBack(JsonNumber const& number);

Append a copy of the specified object to this array.

JsonArray&
pushBack(JsonObject const& object);

Same as the related overload above for pushBack.

JsonArray&
pushBack(std::string_view const& string);

Append a copy of the specified string to this array.

JsonArray&
pushBack(char const* string);

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;

Return Value

  • a reference providing modifiable access to this object

  • non‐`const` reference to this array

Parameters

Name

Description

value

value to append

json

value to append

array

value to append

number

value to append

object

value to append

string

string value to append

Created with MrDocs