BloombergLP::bdljsn::Json_ConstructVisitor::operator()

Function call operators

Synopses

Declared in <bdljsn_json.h>

Store the specified value into the Json object pointed to by d_this_p.

void
operator()(bdldfp::Decimal64 value) const;
» more...

The behavior is undefined when this method is called.

void
operator()(bslmf::Nil nil) const;
» more...

Store the specified b into the Json object pointed to by d_this_p.

void
operator()(bool b) const;
» more...

Store the specified d into the Json object pointed to by d_this_p.

void
operator()(double d) const;
» more...

Store the specified ll into the Json object pointed to by d_this_p.

void
operator()(long long ll) const;
» more...

Store the specified ull into the Json object pointed to by d_this_p.

void
operator()(unsigned long long ull) const;
» more...

Store a JsonArray containing the elements of the specified il into the Json object pointed to by d_this_p.

void
operator()(bsl::span<Json_Initializer const> il) const;
» more...

Store the specified jNull into the Json object pointed to by d_this_p.

void
operator()(JsonNull const& jNull) const;
» more...

Store the specified sv into the Json object pointed to by d_this_p.

void
operator()(std::string_view const& sv) const;
» more...

Store the object pointed to by the specified json to the Json object pointed to by d_this_p.

void
operator()(Json const* json) const;
» more...

Store the object pointed to by the specified jArr to the Json object pointed to by d_this_p.

void
operator()(JsonArray const* jArr) const;
» more...

Store the object pointed to by the specified jNum to the Json object pointed to by d_this_p.

void
operator()(JsonNumber const* jNum) const;
» more...

Store the object pointed to by the specified jObj to the Json object pointed to by d_this_p.

void
operator()(JsonObject const* jObj) const;
» more...

Parameters

NameDescription
valueDecimal64 value
nilunused nil tag
bboolean value
dfloating-point value
llsigned integer value
ullunsigned integer value
ilspan of initializer values
jNullnull value
svstring view
jsonpointer to JSON value
jArrpointer to array value
jNumpointer to number value
jObjpointer to object value