@@ -4,6 +4,8 @@
#pragma once
+#include <ArduinoJson/Namespace.hpp>
+
#include <stddef.h> // size_t
namespace ARDUINOJSON_NAMESPACE {
#if ARDUINOJSON_ENABLE_ARDUINO_STREAM
#include <Stream.h>
template <typename T>
#if ARDUINOJSON_ENABLE_STD_STREAM
#include <ostream>
#endif
#if ARDUINOJSON_ENABLE_PROGMEM
template <typename TIterator>
@@ -4,7 +4,7 @@
-#include <ArduinoJson/Configuration.hpp>
#include <istream>
class EscapeSequence {
namespace Utf8 {
@@ -6,7 +6,7 @@
#include <stddef.h> // for size_t
#define JSON_STRING_SIZE(SIZE) (SIZE)
inline void doubleToFloat(const uint8_t d[8], uint8_t f[4]) {
@@ -5,6 +5,7 @@
#include <ArduinoJson/Configuration.hpp>
#include <stdint.h> // int64_t
inline bool isdigit(char c) {
@@ -4,6 +4,7 @@
#include <ArduinoJson/Polyfills/assert.hpp>
// Some libraries #define isnan() and isinf() so we need to check before
// Wraps a const char* so that the our functions are picked only if the
// originals are missing
inline int8_t safe_strcmp(const char* a, const char* b) {
template <bool Condition, class TrueType, class FalseType>
// A meta-function that return the type T if Condition is true.
template <typename T, T v>
// A meta-function that returns true if Derived inherits from TBase is an
// A meta-function that return the type T without the const modifier
// A meta-function that return the type T without the reference modifier.
inline void swap(T& a, T& b) {
class DummyWriter {
// A Print implementation that allows to write in a char[]
class StringMover {
class SizedFlashStringAdapter {
#include <string.h> // strcmp
#include <string>
class ArrayRef;
class ObjectRef;