From 7ea27324c0856b7d05fb0d4c55aa0c1f798ef8b5 Mon Sep 17 00:00:00 2001 From: justanotheranonymoususer Date: Fri, 18 Jun 2021 11:04:53 +0300 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7400e3260..aca99cdbb 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ Thanks everyone! #include // for convenience -using nlohmann::json; +using json = nlohmann::json; ``` to the files you want to process JSON and set the necessary switches to enable C++11 (e.g., `-std=c++11` for GCC and Clang). @@ -870,7 +870,7 @@ assert(p == p2); To make this work with one of your types, you only need to provide two functions: ```cpp -using nlohmann::json; +using json = nlohmann::json; namespace ns { void to_json(json& j, const person& p) {