Function call operators
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...
| 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 |