Sha256: 8a78a897e5bcb50f1634274c7a575cca8be4f5142df896260a010d94463e1807
Contents?: true
Size: 298 Bytes
Versions: 1
Compression:
Stored size: 298 Bytes
Contents
#include <iostream> #include <nlohmann/json.hpp> using json = nlohmann::json; int main() { // implicitly create a JSON null value json j1; // explicitly create a JSON null value json j2(nullptr); // serialize the JSON null value std::cout << j1 << '\n' << j2 << '\n'; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simdjson-0.3.0 | vendor/simdjson/dependencies/json/doc/examples/basic_json__nullptr_t.cpp |