From baa73822d28531e75282da8f711b44b59c74f2e4 Mon Sep 17 00:00:00 2001 From: Tyler Gilbert Date: Fri, 11 Mar 2022 14:37:35 -0700 Subject: [PATCH] See CHANGES for details --- CHANGES.md | 1 + README.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 153706a..b7cdb29 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -8,6 +8,7 @@ ## Bug Fixes +- Use `cpp` rather than `c++` for markdown code blocks - Remove `json::JsonValue::to_value()` which returned `*this` - Remove copy constructor and operator from `json::JsonObject` this was creating an extra reference and possibly leaking memory diff --git a/README.md b/README.md index 5b5d94e..0076175 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Under the hood, all memory management is handled by [jansson](https://github.com You can easily create a JSON object using method chaining: -```c++ +```cpp #include //create an object @@ -60,7 +60,7 @@ const auto b = object.at("true").to_bool(); You can load and save JSON documents using `JsonDocument`. -```c++ +```cpp #include #include