pushBack overloads
Declared in <bdljsn_json.h>
Same as the related overload above for pushBack.
Json&
pushBack(bdldfp::Decimal64 value);
» more...
Same as the related overload above for pushBack.
Json&
pushBack(bool value);
» more...
Same as the related overload above for pushBack.
Json&
pushBack(double value);
» more...
Same as the related overload above for pushBack.
Json&
pushBack(float value);
» more...
Same as the related overload above for pushBack.
Json&
pushBack(int value);
» more...
Same as the related overload above for pushBack.
Json&
pushBack(long value);
» more...
Same as the related overload above for pushBack.
Json&
pushBack(long long value);
» more...
Same as the related overload above for pushBack.
Json&
pushBack(unsigned int value);
» more...
Same as the related overload above for pushBack.
Json&
pushBack(unsigned long value);
» more...
Same as the related overload above for pushBack.
Json&
pushBack(unsigned long long value);
» more...
Move-append json to the held array.
Json&
pushBack(bslmf::MovableRef<Json> json);
» more...
Move-append array to the held array.
Json&
pushBack(bslmf::MovableRef<JsonArray> array);
» more...
Move-append number to the held array.
Json&
pushBack(bslmf::MovableRef<JsonNumber> number);
» more...
Move-append object to the held array.
Json&
pushBack(bslmf::MovableRef<JsonObject> object);
» more...
Append a copy of json to the held array.
Json&
pushBack(Json const& json);
» more...
Append a copy of array to the held array.
Json&
pushBack(JsonArray const& array);
» more...
Append a copy of value to the held array.
Json&
pushBack(JsonNull const& value);
» more...
Append a copy of number to the held array.
Json&
pushBack(JsonNumber const& number);
» more...
Append a copy of object to the held array.
Json&
pushBack(JsonObject const& object);
» more...
Same as the related overload above for pushBack.
Json&
pushBack(std::string_view const& string);
» more...
Append a copy of string to the held array.
Json&
pushBack(char const* string);
» more...
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;
» more...
a reference providing modifiable access to this object
| 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 |