From e970f310668bd19d74c3596b8eb3cfa2daaa90b2 Mon Sep 17 00:00:00 2001 From: justanotheranonymoususer Date: Fri, 18 Jun 2021 12:44:27 +0300 Subject: [PATCH] Update arbitrary_types.md --- doc/mkdocs/docs/features/arbitrary_types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/mkdocs/docs/features/arbitrary_types.md b/doc/mkdocs/docs/features/arbitrary_types.md index 23913bba2..423419130 100644 --- a/doc/mkdocs/docs/features/arbitrary_types.md +++ b/doc/mkdocs/docs/features/arbitrary_types.md @@ -54,7 +54,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) {