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;
The behavior is undefined when this method is called.
void
operator()(bslmf::Nil nil) const;
Store the specified b into the Json object pointed to by d_this_p.
void
operator()(bool b) const;
Store the specified d into the Json object pointed to by d_this_p.
void
operator()(double d) const;
Store the specified ll into the Json object pointed to by d_this_p.
void
operator()(long long ll) const;
Store the specified ull into the Json object pointed to by d_this_p.
void
operator()(unsigned long long ull) const;
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;
Store the specified jNull into the Json object pointed to by d_this_p.
void
operator()(JsonNull const& jNull) const;
Store the specified sv into the Json object pointed to by d_this_p.
void
operator()(std::string_view const& sv) const;
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;
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;
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;
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;
Parameters
Name |
Description |
value |
Decimal64 value |
nil |
unused nil tag |
b |
boolean value |
d |
floating‐point value |
ll |
signed integer value |
ull |
unsigned integer value |
il |
span of initializer values |
jNull |
null value |
sv |
string view |
json |
pointer to JSON value |
jArr |
pointer to array value |
jNum |
pointer to number value |
jObj |
pointer to object value |
Created with MrDocs