Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 537 Bytes

File metadata and controls

24 lines (22 loc) · 537 Bytes

natvis-for-modern-json-cpp

Visual studio natvis for JSON for Modern C++ (nlohmann/json)

Should work on vs 2013+

Example

nlohmann::json json = {
  {"pi", 3.141},
  {"happy", true},
  {"name", "Niels"},
  {"nothing", nullptr},
  {"answer", {
    {"everything", 42}
  }},
  {"list", {1, 0, 2}},
  {"object", {
    {"currency", "USD"},
    {"value", 42.99}
  }}
};

Is visualised as