nlohmann::operator>>

deserialize from stream

Synopsis

Declared in <nlohmann/json.hpp>

std::istream&
operator>>(
    std::istream& i,
    basic_json& j);

NOTE

This function is a hidden friend of basic_json, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

the stream i

Parameters

NameDescription
istream to deserialize from
jJSON value to deserialize into