|
| 1 | +// ArduinoJson - arduinojson.org |
| 2 | +// Copyright Benoit Blanchon 2014-2020 |
| 3 | +// MIT License |
| 4 | + |
| 5 | +#pragma once |
| 6 | + |
| 7 | +#include "ArduinoJson/Configuration.hpp" |
| 8 | + |
| 9 | +#if !ARDUINOJSON_DEBUG |
| 10 | +#ifdef __clang__ |
| 11 | +#pragma clang system_header |
| 12 | +#elif defined __GNUC__ |
| 13 | +#pragma GCC system_header |
| 14 | +#endif |
| 15 | +#endif |
| 16 | + |
| 17 | +#include "ArduinoJson/Array/ArrayRef.hpp" |
| 18 | +#include "ArduinoJson/Object/ObjectRef.hpp" |
| 19 | +#include "ArduinoJson/Variant/VariantRef.hpp" |
| 20 | + |
| 21 | +#include "ArduinoJson/Document/DynamicJsonDocument.hpp" |
| 22 | +#include "ArduinoJson/Document/StaticJsonDocument.hpp" |
| 23 | + |
| 24 | +#include "ArduinoJson/Array/ArrayImpl.hpp" |
| 25 | +#include "ArduinoJson/Array/ElementProxy.hpp" |
| 26 | +#include "ArduinoJson/Array/Utilities.hpp" |
| 27 | +#include "ArduinoJson/Collection/CollectionImpl.hpp" |
| 28 | +#include "ArduinoJson/Object/MemberProxy.hpp" |
| 29 | +#include "ArduinoJson/Object/ObjectImpl.hpp" |
| 30 | +#include "ArduinoJson/Variant/VariantAsImpl.hpp" |
| 31 | +#include "ArduinoJson/Variant/VariantImpl.hpp" |
| 32 | + |
| 33 | +#include "ArduinoJson/Json/JsonDeserializer.hpp" |
| 34 | +#include "ArduinoJson/Json/JsonSerializer.hpp" |
| 35 | +#include "ArduinoJson/Json/PrettyJsonSerializer.hpp" |
| 36 | +#include "ArduinoJson/MsgPack/MsgPackDeserializer.hpp" |
| 37 | +#include "ArduinoJson/MsgPack/MsgPackSerializer.hpp" |
| 38 | + |
| 39 | +#include "ArduinoJson/compatibility.hpp" |
| 40 | + |
| 41 | +namespace ArduinoJson { |
| 42 | +typedef ARDUINOJSON_NAMESPACE::ArrayConstRef JsonArrayConst; |
| 43 | +typedef ARDUINOJSON_NAMESPACE::ArrayRef JsonArray; |
| 44 | +typedef ARDUINOJSON_NAMESPACE::Float JsonFloat; |
| 45 | +typedef ARDUINOJSON_NAMESPACE::Integer JsonInteger; |
| 46 | +typedef ARDUINOJSON_NAMESPACE::ObjectConstRef JsonObjectConst; |
| 47 | +typedef ARDUINOJSON_NAMESPACE::ObjectRef JsonObject; |
| 48 | +typedef ARDUINOJSON_NAMESPACE::Pair JsonPair; |
| 49 | +typedef ARDUINOJSON_NAMESPACE::PairConst JsonPairConst; |
| 50 | +typedef ARDUINOJSON_NAMESPACE::String JsonString; |
| 51 | +typedef ARDUINOJSON_NAMESPACE::UInt JsonUInt; |
| 52 | +typedef ARDUINOJSON_NAMESPACE::VariantConstRef JsonVariantConst; |
| 53 | +typedef ARDUINOJSON_NAMESPACE::VariantRef JsonVariant; |
| 54 | +using ARDUINOJSON_NAMESPACE::BasicJsonDocument; |
| 55 | +using ARDUINOJSON_NAMESPACE::copyArray; |
| 56 | +using ARDUINOJSON_NAMESPACE::DeserializationError; |
| 57 | +using ARDUINOJSON_NAMESPACE::deserializeJson; |
| 58 | +using ARDUINOJSON_NAMESPACE::deserializeMsgPack; |
| 59 | +using ARDUINOJSON_NAMESPACE::DynamicJsonDocument; |
| 60 | +using ARDUINOJSON_NAMESPACE::JsonDocument; |
| 61 | +using ARDUINOJSON_NAMESPACE::measureJson; |
| 62 | +using ARDUINOJSON_NAMESPACE::serialized; |
| 63 | +using ARDUINOJSON_NAMESPACE::serializeJson; |
| 64 | +using ARDUINOJSON_NAMESPACE::serializeJsonPretty; |
| 65 | +using ARDUINOJSON_NAMESPACE::serializeMsgPack; |
| 66 | +using ARDUINOJSON_NAMESPACE::StaticJsonDocument; |
| 67 | + |
| 68 | +namespace DeserializationOption { |
| 69 | +using ARDUINOJSON_NAMESPACE::Filter; |
| 70 | +using ARDUINOJSON_NAMESPACE::NestingLimit; |
| 71 | +} // namespace DeserializationOption |
| 72 | +} // namespace ArduinoJson |
0 commit comments