]>
git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/third_party/nlohmann-json/doc/examples/unflatten.cpp
3 #include <nlohmann/json.hpp>
5 using json
= nlohmann::json
;
12 {"/answer/everything", 42},
18 {"/nothing", nullptr},
19 {"/object/currency", "USD"},
20 {"/object/value", 42.99},
25 std::cout
<< std::setw(4) << j_flattened
.unflatten() << '\n';