nlohmann::operator<<

serialize to stream

Synopsis

Declared in <nlohmann/json.hpp>

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

Return Value

the stream o

Parameters

NameDescription
ostream to serialize to
jJSON value to serialize