return flattened JSON value
Declared in <nlohmann/json.hpp>
<nlohmann/json.hpp>
basic_json flatten() const;
an object whose keys are JSON Pointers to the leaf values of the original JSON value, and whose values are those leaf values