write overloads
Synopses
Declared in <bdljsn_jsonutil.h>
Write to output a JSON text representation of json. Return 0 on success and a non‐zero value otherwise. See the documented write overload for full contract details.
Write to output a JSON text representation of json. Return 0 on success and a non‐zero value otherwise. See the documented write overload for full contract details.
Write to output a JSON text representation of json. Return 0 on success and a non‐zero value otherwise. See the documented write overload for full contract details.
static
int
write(
bsl::string* output,
Json const& json);
Write to output a JSON text representation of json. Return 0 on success and a non‐zero value otherwise. See the documented write overload for full contract details.
Write to the specified output a JSON text representation of the specified json document, using the optionally specified options for formatting the resulting text. Return 0 on success, and a non‐zero value otherwise. Note that this operation will report an error only if there is an error writing to output.
Write to output a JSON text representation of json. Return 0 on success and a non‐zero value otherwise. See the documented write overload for full contract details.
static
int
write(
std::ostream& output,
Json const& json,
WriteOptions const& options);
Write to output a JSON text representation of json. Return 0 on success and a non‐zero value otherwise. See the documented write overload for full contract details.
static
int
write(
std::streambuf* output,
Json const& json,
WriteOptions const& options);
Write to output a JSON text representation of json. Return 0 on success and a non‐zero value otherwise. See the documented write overload for full contract details.
static
int
write(
bsl::string* output,
Json const& json,
WriteOptions const& options);
Write to output a JSON text representation of json. Return 0 on success and a non‐zero value otherwise. See the documented write overload for full contract details.
static
int
write(
std::pmr::string* output,
Json const& json,
WriteOptions const& options);
Write to output a JSON text representation of json. Return 0 on success and a non‐zero value otherwise. See the documented write overload for full contract details.
static
int
write(
std::string* output,
Json const& json,
WriteOptions const& options);
Created with MrDocs