From 8b04046321af4da9b9200e9c4499b10575c56681 Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Tue, 15 Jan 2019 12:04:48 +0100 Subject: [PATCH] Import JsonDocument into the ArduinoJson namespace --- CHANGELOG.md | 1 + src/ArduinoJson.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fbad590b..688e49b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ HEAD * Removed default capacity of `DynamicJsonDocument` * `JsonArray::copyFrom()` accepts `JsonArrayConst` * `JsonVariant::set()` accepts `JsonArrayConst` and `JsonObjectConst` +* `JsonDocument` was missing in the ArduinoJson namespace > ### BREAKING CHANGES > diff --git a/src/ArduinoJson.hpp b/src/ArduinoJson.hpp index 8c8b318d..02223b27 100644 --- a/src/ArduinoJson.hpp +++ b/src/ArduinoJson.hpp @@ -43,6 +43,7 @@ using ARDUINOJSON_NAMESPACE::DeserializationError; using ARDUINOJSON_NAMESPACE::deserializeJson; using ARDUINOJSON_NAMESPACE::deserializeMsgPack; using ARDUINOJSON_NAMESPACE::DynamicJsonDocument; +using ARDUINOJSON_NAMESPACE::JsonDocument; using ARDUINOJSON_NAMESPACE::serialized; using ARDUINOJSON_NAMESPACE::serializeJson; using ARDUINOJSON_NAMESPACE::serializeJsonPretty;