Stream insertion operators
Synopses
Declared in <bdljsn_error.h>
Write "null" to the specified output stream.
std::ostream&
operator<<(
std::ostream& stream,
JsonNull const& object);
Write the value of the specified object to the specified stream.
std::ostream&
operator<<(
std::ostream& stream,
JsonNumber const& object);
Write the string representation of the specified enumeration value to the specified output stream in a single‐line format.
std::ostream&
operator<<(
std::ostream& stream,
JsonType::Enum value);
Write the value of object to the specified output stream.
std::ostream&
operator<<(
std::ostream& stream,
JsonArray const& object);
Write the value of object to the specified output stream.
std::ostream&
operator<<(
std::ostream& stream,
JsonObject const& object);
Write the value of object to the specified output stream.
std::ostream&
operator<<(
std::ostream& stream,
Json const& object);
Write the string representation of the specified enumeration value to the specified output stream in a single‐line format.
std::ostream&
operator<<(
std::ostream& stream,
WriteStyle::Enum value);
Write the specified object to the specified output stream.
std::ostream&
operator<<(
std::ostream& stream,
Location const& object);
Write the value of the specified object to the specified output stream in a single‐line format.
std::ostream&
operator<<(
std::ostream& stream,
Error const& object);
Format the specified rhs to the specified output stream in a single line format and return a non‐`const` reference to stream.
std::ostream&
operator<<(
std::ostream& stream,
ReadOptions const& rhs);
Format the specified rhs to the specified output stream.
std::ostream&
operator<<(
std::ostream& stream,
WriteOptions const& rhs);
Return Value
-
a reference to
stream -
a non‐`const` reference to
stream -
a reference to the modifiable
stream
Parameters
Name |
Description |
stream |
output stream |
object |
object to write |
value |
enumeration value to write |
rhs |
options object to format |
Created with MrDocs