diff options
Diffstat (limited to 'include/lib/ArduinoJson/Serialization/JsonSerializer.hpp')
-rw-r--r-- | include/lib/ArduinoJson/Serialization/JsonSerializer.hpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/lib/ArduinoJson/Serialization/JsonSerializer.hpp b/include/lib/ArduinoJson/Serialization/JsonSerializer.hpp new file mode 100644 index 0000000..0cb537f --- /dev/null +++ b/include/lib/ArduinoJson/Serialization/JsonSerializer.hpp @@ -0,0 +1,32 @@ +// ArduinoJson - arduinojson.org +// Copyright Benoit Blanchon 2014-2018 +// MIT License + +#pragma once + +#include "JsonWriter.hpp" + +namespace ArduinoJson { + +class JsonArray; +class JsonObject; +class JsonVariant; + +namespace Internals { + +class JsonArraySubscript; +template <typename TKey> +class JsonObjectSubscript; + +template <typename Writer> +class JsonSerializer { + public: + static void serialize(const JsonArray &, Writer &); + static void serialize(const JsonArraySubscript &, Writer &); + static void serialize(const JsonObject &, Writer &); + template <typename TKey> + static void serialize(const JsonObjectSubscript<TKey> &, Writer &); + static void serialize(const JsonVariant &, Writer &); +}; +} +} |