BloombergLP::bdljsn::operator<<

Write "null" to the specified output stream.

Synopsis

Declared in <bdljsn_jsonnull.h>

std::ostream&
operator<<(
    std::ostream& stream,
    JsonNull const& object);

Description

Write "null" -- the invariant value of the specified object -- to the specified output stream in a single-line format and return a reference to stream. Note that this method has the same behavior as ` object.print(stream, 0, -1); `

Return Value

a reference to stream

Parameters

NameDescription
streamoutput stream
objectobject to write