BloombergLP::bdljsn::operator<<

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);
» more...

Write the value of the specified object to the specified stream.

std::ostream&
operator<<(
    std::ostream& stream,
    JsonNumber const& object);
» more...

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);
» more...

Write the value of object to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    JsonArray const& object);
» more...

Write the value of object to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    JsonObject const& object);
» more...

Write the value of object to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    Json const& object);
» more...

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);
» more...

Write the specified object to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    Location const& object);
» more...

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);
» more...

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);
» more...

Format the specified rhs to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    WriteOptions const& rhs);
» more...

Return Value

  • a reference to stream
  • a non-const reference to stream
  • a reference to the modifiable stream

Parameters

NameDescription
streamoutput stream
objectobject to write
valueenumeration value to write
rhsoptions object to format