nlohmann::operator<<

serialize to stream

Synopsis

Declared in <nlohmann/json.hpp>

std::ostream&
operator<<(
    std::ostream& o,
    basic_json const& j);

Return Value

Reference to the current output stream

Parameters

NameDescription
oAn output stream
jThe object to output