pushBack overloads

Synopses

Declared in <bdljsn_json.h>

Same as the related overload above for pushBack.

Same as the related overload above for pushBack.

Json&
pushBack(bool value);

Same as the related overload above for pushBack.

Json&
pushBack(double value);

Same as the related overload above for pushBack.

Json&
pushBack(float value);

Same as the related overload above for pushBack.

Json&
pushBack(int value);

Same as the related overload above for pushBack.

Json&
pushBack(long value);

Same as the related overload above for pushBack.

Json&
pushBack(long long value);

Same as the related overload above for pushBack.

Json&
pushBack(unsigned int value);

Same as the related overload above for pushBack.

Json&
pushBack(unsigned long value);

Same as the related overload above for pushBack.

Json&
pushBack(unsigned long long value);

Move‐append json to the held array.

Move‐append array to the held array.

Move‐append number to the held array.

Move‐append object to the held array.

Append a copy of json to the held array.

Json&
pushBack(Json const& json);

Append a copy of array to the held array.

Json&
pushBack(JsonArray const& array);

Append a copy of value to the held array.

Json&
pushBack(JsonNull const& value);

Append a copy of number to the held array.

Json&
pushBack(JsonNumber const& number);

Append a copy of object to the held array.

Json&
pushBack(JsonObject const& object);

Same as the related overload above for pushBack.

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

Append a copy of string to the held array.

Json&
pushBack(char const* string);

Move‐append string to the held array.

template<class t_STRING_TYPE>
Json&
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

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