From 5fdb1d08aa6235e24b167d98f07b52029706ec47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20=E2=80=9Cweej=E2=80=9D=20Jones?= Date: Tue, 10 Mar 2020 19:37:20 +0000 Subject: [PATCH] README: Fix string representation of `dump`ed `json` As is it's confusing and inconsistent with the indented form right below. The backslash escapes make it confusing. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ff2e51cb..96e23eef 100644 --- a/README.md +++ b/README.md @@ -311,7 +311,7 @@ You can also get a string representation of a JSON value (serialize): ```cpp // explicit conversion to string -std::string s = j.dump(); // {\"happy\":true,\"pi\":3.141} +std::string s = j.dump(); // {"happy":true,"pi":3.141} // serialization with pretty printing // pass in the amount of spaces to indent