return flattened JSON value
Declared in <nlohmann/json.hpp>
<nlohmann/json.hpp>
basic_json flatten() const;
a class to store JSON values