[M5] verify-curated-db.sh + boost recipe (header-only)
This commit is contained in:
9
scripts/curated-snippets/nlohmann_json.cpp
Normal file
9
scripts/curated-snippets/nlohmann_json.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <nlohmann/json.hpp>
|
||||
import std;
|
||||
|
||||
int main() {
|
||||
nlohmann::json j;
|
||||
j["k"] = 42;
|
||||
std::println("{}", j.dump());
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user