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.
pull/1979/head
Alexander “weej” Jones 2020-03-10 19:37:20 +00:00 committed by GitHub
parent 973c52dd4a
commit 5fdb1d08aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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