ArduinoJson.hpp 2.6 KB

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