[#nlohmann-basic_json-0c-flatten] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-0c.adoc[basic_json]::flatten :relfileprefix: ../../ :mrdocs: return flattened JSON value == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:nlohmann/basic_json-0c.adoc[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 [.small]#Created with https://www.mrdocs.com[MrDocs]#