nlohmann::basic_json::flatten

return flattened JSON value

Synopsis

Declared in <nlohmann/json.hpp>

basic_json
flatten() const;

Return Value

an object whose keys are JSON Pointers to the leaf values of the original JSON value, and whose values are those leaf values