BloombergLP::baljsn::operator<<

Write the string representation of value to stream in a single-line format.

Synopsis

Declared in <baljsn_jsonformatter.h>

std::ostream&
operator<<(
    std::ostream& stream,
    JsonFormatter_State::Enum value);

Description

Return a reference to stream. See toAscii for what constitutes the string representation of a JsonFormatter_State::Enum value. Note that this method has the same behavior as ` JsonFormatter_State::print(stream, value, 0, -1); `

Return Value

a reference to stream

Parameters

NameDescription
streamoutput stream
valueenumeration value to format