arduinojson/7.0.1

C++ JSON library for IoT. Simple and efficient.
Recipe info
2024-01-15

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
arduinojson/7.0.1

Using arduinojson

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
arduinojson/7.0.1
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("arduinojson/7.0.1")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): ArduinoJson
  • CMake target name(s): ArduinoJson
  • pkg-config file name(s): arduinojson.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(ArduinoJson REQUIRED)
# ...
target_link_libraries(YOUR_TARGET ArduinoJson)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the arduinojson homepage listed above:

#include "ArduinoJson.h"
#include "ArduinoJson.hpp"
#include "ArduinoJson/Array/ArrayData.hpp"
#include "ArduinoJson/Array/ArrayImpl.hpp"
#include "ArduinoJson/Array/ElementProxy.hpp"
#include "ArduinoJson/Array/JsonArray.hpp"
#include "ArduinoJson/Array/JsonArrayConst.hpp"
#include "ArduinoJson/Array/JsonArrayIterator.hpp"
#include "ArduinoJson/Array/Utilities.hpp"
#include "ArduinoJson/Collection/CollectionData.hpp"
#include "ArduinoJson/Collection/CollectionImpl.hpp"
#include "ArduinoJson/Configuration.hpp"
#include "ArduinoJson/Deserialization/DeserializationError.hpp"
#include "ArduinoJson/Deserialization/DeserializationOptions.hpp"
#include "ArduinoJson/Deserialization/Filter.hpp"
#include "ArduinoJson/Deserialization/NestingLimit.hpp"
#include "ArduinoJson/Deserialization/Reader.hpp"
#include "ArduinoJson/Deserialization/Readers/ArduinoStreamReader.hpp"
#include "ArduinoJson/Deserialization/Readers/ArduinoStringReader.hpp"
#include "ArduinoJson/Deserialization/Readers/FlashReader.hpp"
#include "ArduinoJson/Deserialization/Readers/IteratorReader.hpp"
#include "ArduinoJson/Deserialization/Readers/RamReader.hpp"
#include "ArduinoJson/Deserialization/Readers/StdStreamReader.hpp"
#include "ArduinoJson/Deserialization/Readers/VariantReader.hpp"
#include "ArduinoJson/Deserialization/deserialize.hpp"
#include "ArduinoJson/Document/JsonDocument.hpp"
#include "ArduinoJson/Json/EscapeSequence.hpp"
#include "ArduinoJson/Json/JsonDeserializer.hpp"
#include "ArduinoJson/Json/JsonSerializer.hpp"
#include "ArduinoJson/Json/Latch.hpp"
#include "ArduinoJson/Json/PrettyJsonSerializer.hpp"
#include "ArduinoJson/Json/TextFormatter.hpp"
#include "ArduinoJson/Json/Utf16.hpp"
#include "ArduinoJson/Json/Utf8.hpp"
#include "ArduinoJson/Memory/Alignment.hpp"
#include "ArduinoJson/Memory/Allocator.hpp"
#include "ArduinoJson/Memory/ResourceManager.hpp"
#include "ArduinoJson/Memory/StringBuilder.hpp"
#include "ArduinoJson/Memory/StringNode.hpp"
#include "ArduinoJson/Memory/StringPool.hpp"
#include "ArduinoJson/Memory/VariantPool.hpp"
#include "ArduinoJson/Memory/VariantPoolImpl.hpp"
#include "ArduinoJson/Memory/VariantPoolList.hpp"
#include "ArduinoJson/Misc/SerializedValue.hpp"
#include "ArduinoJson/MsgPack/MsgPackDeserializer.hpp"
#include "ArduinoJson/MsgPack/MsgPackSerializer.hpp"
#include "ArduinoJson/MsgPack/endianess.hpp"
#include "ArduinoJson/MsgPack/ieee754.hpp"
#include "ArduinoJson/Namespace.hpp"
#include "ArduinoJson/Numbers/FloatParts.hpp"
#include "ArduinoJson/Numbers/FloatTraits.hpp"
#include "ArduinoJson/Numbers/JsonFloat.hpp"
#include "ArduinoJson/Numbers/JsonInteger.hpp"
#include "ArduinoJson/Numbers/arithmeticCompare.hpp"
#include "ArduinoJson/Numbers/convertNumber.hpp"
#include "ArduinoJson/Numbers/parseNumber.hpp"
#include "ArduinoJson/Object/JsonObject.hpp"
#include "ArduinoJson/Object/JsonObjectConst.hpp"
#include "ArduinoJson/Object/JsonObjectIterator.hpp"
#include "ArduinoJson/Object/JsonPair.hpp"
#include "ArduinoJson/Object/MemberProxy.hpp"
#include "ArduinoJson/Object/ObjectData.hpp"
#include "ArduinoJson/Object/ObjectImpl.hpp"
#include "ArduinoJson/Polyfills/alias_cast.hpp"
#include "ArduinoJson/Polyfills/assert.hpp"
#include "ArduinoJson/Polyfills/attributes.hpp"
#include "ArduinoJson/Polyfills/ctype.hpp"
#include "ArduinoJson/Polyfills/integer.hpp"
#include "ArduinoJson/Polyfills/limits.hpp"
#include "ArduinoJson/Polyfills/math.hpp"
#include "ArduinoJson/Polyfills/mpl/max.hpp"
#include "ArduinoJson/Polyfills/pgmspace.hpp"
#include "ArduinoJson/Polyfills/pgmspace_generic.hpp"
#include "ArduinoJson/Polyfills/preprocessor.hpp"
#include "ArduinoJson/Polyfills/type_traits.hpp"
#include "ArduinoJson/Polyfills/type_traits/conditional.hpp"
#include "ArduinoJson/Polyfills/type_traits/declval.hpp"
#include "ArduinoJson/Polyfills/type_traits/enable_if.hpp"
#include "ArduinoJson/Polyfills/type_traits/integral_constant.hpp"
#include "ArduinoJson/Polyfills/type_traits/is_array.hpp"
#include "ArduinoJson/Polyfills/type_traits/is_base_of.hpp"
#include "ArduinoJson/Polyfills/type_traits/is_class.hpp"
#include "ArduinoJson/Polyfills/type_traits/is_const.hpp"
#include "ArduinoJson/Polyfills/type_traits/is_convertible.hpp"
#include "ArduinoJson/Polyfills/type_traits/is_enum.hpp"
#include "ArduinoJson/Polyfills/type_traits/is_floating_point.hpp"
#include "ArduinoJson/Polyfills/type_traits/is_integral.hpp"
#include "ArduinoJson/Polyfills/type_traits/is_pointer.hpp"
#include "ArduinoJson/Polyfills/type_traits/is_same.hpp"
#include "ArduinoJson/Polyfills/type_traits/is_signed.hpp"
#include "ArduinoJson/Polyfills/type_traits/is_unsigned.hpp"
#include "ArduinoJson/Polyfills/type_traits/make_unsigned.hpp"
#include "ArduinoJson/Polyfills/type_traits/make_void.hpp"
#include "ArduinoJson/Polyfills/type_traits/remove_const.hpp"
#include "ArduinoJson/Polyfills/type_traits/remove_cv.hpp"
#include "ArduinoJson/Polyfills/type_traits/remove_reference.hpp"
#include "ArduinoJson/Polyfills/type_traits/type_identity.hpp"
#include "ArduinoJson/Polyfills/utility.hpp"
#include "ArduinoJson/Serialization/CountingDecorator.hpp"
#include "ArduinoJson/Serialization/Writer.hpp"
#include "ArduinoJson/Serialization/Writers/ArduinoStringWriter.hpp"
#include "ArduinoJson/Serialization/Writers/DummyWriter.hpp"
#include "ArduinoJson/Serialization/Writers/PrintWriter.hpp"
#include "ArduinoJson/Serialization/Writers/StaticStringWriter.hpp"
#include "ArduinoJson/Serialization/Writers/StdStreamWriter.hpp"
#include "ArduinoJson/Serialization/Writers/StdStringWriter.hpp"
#include "ArduinoJson/Serialization/measure.hpp"
#include "ArduinoJson/Serialization/serialize.hpp"
#include "ArduinoJson/Strings/Adapters/FlashString.hpp"
#include "ArduinoJson/Strings/Adapters/JsonString.hpp"
#include "ArduinoJson/Strings/Adapters/RamString.hpp"
#include "ArduinoJson/Strings/Adapters/StringObject.hpp"
#include "ArduinoJson/Strings/IsString.hpp"
#include "ArduinoJson/Strings/JsonString.hpp"
#include "ArduinoJson/Strings/StringAdapter.hpp"
#include "ArduinoJson/Strings/StringAdapters.hpp"
#include "ArduinoJson/Strings/StringTraits.hpp"
#include "ArduinoJson/Variant/Converter.hpp"
#include "ArduinoJson/Variant/ConverterImpl.hpp"
#include "ArduinoJson/Variant/JsonVariant.hpp"
#include "ArduinoJson/Variant/JsonVariantConst.hpp"
#include "ArduinoJson/Variant/JsonVariantCopier.hpp"
#include "ArduinoJson/Variant/JsonVariantVisitor.hpp"
#include "ArduinoJson/Variant/VariantAttorney.hpp"
#include "ArduinoJson/Variant/VariantCompare.hpp"
#include "ArduinoJson/Variant/VariantContent.hpp"
#include "ArduinoJson/Variant/VariantData.hpp"
#include "ArduinoJson/Variant/VariantDataVisitor.hpp"
#include "ArduinoJson/Variant/VariantOperators.hpp"
#include "ArduinoJson/Variant/VariantRefBase.hpp"
#include "ArduinoJson/Variant/VariantRefBaseImpl.hpp"
#include "ArduinoJson/Variant/VariantSlot.hpp"
#include "ArduinoJson/Variant/VariantTag.hpp"
#include "ArduinoJson/Variant/VariantTo.hpp"
#include "ArduinoJson/compatibility.hpp"
#include "ArduinoJson/version.hpp"