taocpp-json/1.0.0-beta.14

C++ header-only JSON library
Recipe info
2023-08-19

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
taocpp-json/1.0.0-beta.14

Using taocpp-json

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]
taocpp-json/1.0.0-beta.14
[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("taocpp-json/1.0.0-beta.14")

    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): taocpp-json
  • CMake target name(s): taocpp::json
  • json => taocpp::json
    
  • pkg-config file name(s): taocpp-json.pc
  • json => taocpp-json-json.pc
    

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

# ...
find_package(taocpp-json REQUIRED)
# ...
target_link_libraries(YOUR_TARGET taocpp::json)

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

#include "tao/json.hpp"
#include "tao/json/basic_value.hpp"
#include "tao/json/binary.hpp"
#include "tao/json/binary_view.hpp"
#include "tao/json/binding.hpp"
#include "tao/json/binding/constant.hpp"
#include "tao/json/binding/element.hpp"
#include "tao/json/binding/element2.hpp"
#include "tao/json/binding/factory.hpp"
#include "tao/json/binding/for_nothing_value.hpp"
#include "tao/json/binding/for_unknown_key.hpp"
#include "tao/json/binding/inherit.hpp"
#include "tao/json/binding/internal/array.hpp"
#include "tao/json/binding/internal/elementr.hpp"
#include "tao/json/binding/internal/elementw.hpp"
#include "tao/json/binding/internal/inherit.hpp"
#include "tao/json/binding/internal/object.hpp"
#include "tao/json/binding/internal/type_key.hpp"
#include "tao/json/binding/member.hpp"
#include "tao/json/binding/member_kind.hpp"
#include "tao/json/binding/versions.hpp"
#include "tao/json/cbor.hpp"
#include "tao/json/cbor/consume_file.hpp"
#include "tao/json/cbor/consume_string.hpp"
#include "tao/json/cbor/events/from_binary.hpp"
#include "tao/json/cbor/events/from_file.hpp"
#include "tao/json/cbor/events/from_input.hpp"
#include "tao/json/cbor/events/from_string.hpp"
#include "tao/json/cbor/events/to_stream.hpp"
#include "tao/json/cbor/events/to_string.hpp"
#include "tao/json/cbor/from_binary.hpp"
#include "tao/json/cbor/from_file.hpp"
#include "tao/json/cbor/from_input.hpp"
#include "tao/json/cbor/from_string.hpp"
#include "tao/json/cbor/internal/grammar.hpp"
#include "tao/json/cbor/internal/major.hpp"
#include "tao/json/cbor/parts_parser.hpp"
#include "tao/json/cbor/to_stream.hpp"
#include "tao/json/cbor/to_string.hpp"
#include "tao/json/consume.hpp"
#include "tao/json/consume_file.hpp"
#include "tao/json/consume_string.hpp"
#include "tao/json/contrib/array_traits.hpp"
#include "tao/json/contrib/deque_traits.hpp"
#include "tao/json/contrib/diff.hpp"
#include "tao/json/contrib/from_nlohmann.hpp"
#include "tao/json/contrib/get.hpp"
#include "tao/json/contrib/internal/array_traits.hpp"
#include "tao/json/contrib/internal/indirect_traits.hpp"
#include "tao/json/contrib/internal/object_traits.hpp"
#include "tao/json/contrib/internal/type_traits.hpp"
#include "tao/json/contrib/list_traits.hpp"
#include "tao/json/contrib/map_traits.hpp"
#include "tao/json/contrib/multimap_traits.hpp"
#include "tao/json/contrib/multiset_traits.hpp"
#include "tao/json/contrib/pair_traits.hpp"
#include "tao/json/contrib/patch.hpp"
#include "tao/json/contrib/pointer_traits.hpp"
#include "tao/json/contrib/position.hpp"
#include "tao/json/contrib/reference.hpp"
#include "tao/json/contrib/schema.hpp"
#include "tao/json/contrib/set_traits.hpp"
#include "tao/json/contrib/shared_ptr_traits.hpp"
#include "tao/json/contrib/to_nlohmann.hpp"
#include "tao/json/contrib/traits.hpp"
#include "tao/json/contrib/tuple_traits.hpp"
#include "tao/json/contrib/unique_ptr_traits.hpp"
#include "tao/json/contrib/unordered_map_traits.hpp"
#include "tao/json/contrib/unordered_set_traits.hpp"
#include "tao/json/contrib/variant_traits.hpp"
#include "tao/json/contrib/vector_bool_traits.hpp"
#include "tao/json/contrib/vector_traits.hpp"
#include "tao/json/events.hpp"
#include "tao/json/events/apply.hpp"
#include "tao/json/events/binary_to_base64.hpp"
#include "tao/json/events/binary_to_base64url.hpp"
#include "tao/json/events/binary_to_exception.hpp"
#include "tao/json/events/binary_to_hex.hpp"
#include "tao/json/events/capture.hpp"
#include "tao/json/events/compare.hpp"
#include "tao/json/events/debug.hpp"
#include "tao/json/events/discard.hpp"
#include "tao/json/events/from_file.hpp"
#include "tao/json/events/from_input.hpp"
#include "tao/json/events/from_stream.hpp"
#include "tao/json/events/from_string.hpp"
#include "tao/json/events/from_value.hpp"
#include "tao/json/events/hash.hpp"
#include "tao/json/events/invalid_string_to_binary.hpp"
#include "tao/json/events/invalid_string_to_exception.hpp"
#include "tao/json/events/invalid_string_to_hex.hpp"
#include "tao/json/events/key_camel_case_to_snake_case.hpp"
#include "tao/json/events/key_snake_case_to_camel_case.hpp"
#include "tao/json/events/limit_nesting_depth.hpp"
#include "tao/json/events/limit_value_count.hpp"
#include "tao/json/events/non_finite_to_exception.hpp"
#include "tao/json/events/non_finite_to_null.hpp"
#include "tao/json/events/non_finite_to_string.hpp"
#include "tao/json/events/prefer_signed.hpp"
#include "tao/json/events/prefer_unsigned.hpp"
#include "tao/json/events/produce.hpp"
#include "tao/json/events/ref.hpp"
#include "tao/json/events/set_value.hpp"
#include "tao/json/events/statistics.hpp"
#include "tao/json/events/tee.hpp"
#include "tao/json/events/to_pretty_stream.hpp"
#include "tao/json/events/to_stream.hpp"
#include "tao/json/events/to_string.hpp"
#include "tao/json/events/to_value.hpp"
#include "tao/json/events/transformer.hpp"
#include "tao/json/events/validate_event_order.hpp"
#include "tao/json/events/validate_keys.hpp"
#include "tao/json/events/virtual_base.hpp"
#include "tao/json/events/virtual_ref.hpp"
#include "tao/json/events/virtual_wrap.hpp"
#include "tao/json/events/virtualize.hpp"
#include "tao/json/external/double.hpp"
#include "tao/json/external/itoa.hpp"
#include "tao/json/external/ryu.hpp"
#include "tao/json/forward.hpp"
#include "tao/json/from_file.hpp"
#include "tao/json/from_input.hpp"
#include "tao/json/from_stream.hpp"
#include "tao/json/from_string.hpp"
#include "tao/json/internal/action.hpp"
#include "tao/json/internal/base64.hpp"
#include "tao/json/internal/base64url.hpp"
#include "tao/json/internal/dependent_false.hpp"
#include "tao/json/internal/endian.hpp"
#include "tao/json/internal/endian_gcc.hpp"
#include "tao/json/internal/endian_win.hpp"
#include "tao/json/internal/errors.hpp"
#include "tao/json/internal/escape.hpp"
#include "tao/json/internal/filesystem.hpp"
#include "tao/json/internal/format.hpp"
#include "tao/json/internal/grammar.hpp"
#include "tao/json/internal/hexdump.hpp"
#include "tao/json/internal/identity.hpp"
#include "tao/json/internal/number_state.hpp"
#include "tao/json/internal/number_traits.hpp"
#include "tao/json/internal/pair.hpp"
#include "tao/json/internal/parse_util.hpp"
#include "tao/json/internal/sha256.hpp"
#include "tao/json/internal/single.hpp"
#include "tao/json/internal/string_t.hpp"
#include "tao/json/internal/type_traits.hpp"
#include "tao/json/internal/unescape_action.hpp"
#include "tao/json/internal/uri_fragment.hpp"
#include "tao/json/jaxn.hpp"
#include "tao/json/jaxn/consume_file.hpp"
#include "tao/json/jaxn/consume_string.hpp"
#include "tao/json/jaxn/events/from_file.hpp"
#include "tao/json/jaxn/events/from_input.hpp"
#include "tao/json/jaxn/events/from_stream.hpp"
#include "tao/json/jaxn/events/from_string.hpp"
#include "tao/json/jaxn/events/to_pretty_stream.hpp"
#include "tao/json/jaxn/events/to_stream.hpp"
#include "tao/json/jaxn/events/to_string.hpp"
#include "tao/json/jaxn/from_file.hpp"
#include "tao/json/jaxn/from_input.hpp"
#include "tao/json/jaxn/from_stream.hpp"
#include "tao/json/jaxn/from_string.hpp"
#include "tao/json/jaxn/internal/action.hpp"
#include "tao/json/jaxn/internal/bunescape_action.hpp"
#include "tao/json/jaxn/internal/errors.hpp"
#include "tao/json/jaxn/internal/grammar.hpp"
#include "tao/json/jaxn/internal/integer.hpp"
#include "tao/json/jaxn/internal/unescape_action.hpp"
#include "tao/json/jaxn/is_identifier.hpp"
#include "tao/json/jaxn/parts_parser.hpp"
#include "tao/json/jaxn/to_stream.hpp"
#include "tao/json/jaxn/to_string.hpp"
#include "tao/json/message_extension.hpp"
#include "tao/json/msgpack.hpp"
#include "tao/json/msgpack/consume_file.hpp"
#include "tao/json/msgpack/consume_string.hpp"
#include "tao/json/msgpack/events/from_binary.hpp"
#include "tao/json/msgpack/events/from_file.hpp"
#include "tao/json/msgpack/events/from_input.hpp"
#include "tao/json/msgpack/events/from_string.hpp"
#include "tao/json/msgpack/events/to_stream.hpp"
#include "tao/json/msgpack/events/to_string.hpp"
#include "tao/json/msgpack/from_binary.hpp"
#include "tao/json/msgpack/from_file.hpp"
#include "tao/json/msgpack/from_input.hpp"
#include "tao/json/msgpack/from_string.hpp"
#include "tao/json/msgpack/internal/format.hpp"
#include "tao/json/msgpack/internal/grammar.hpp"
#include "tao/json/msgpack/parts_parser.hpp"
#include "tao/json/msgpack/to_stream.hpp"
#include "tao/json/msgpack/to_string.hpp"
#include "tao/json/operators.hpp"
#include "tao/json/parts_parser.hpp"
#include "tao/json/pointer.hpp"
#include "tao/json/produce.hpp"
#include "tao/json/self_contained.hpp"
#include "tao/json/span.hpp"
#include "tao/json/stream.hpp"
#include "tao/json/to_stream.hpp"
#include "tao/json/to_string.hpp"
#include "tao/json/traits.hpp"
#include "tao/json/type.hpp"
#include "tao/json/ubjson.hpp"
#include "tao/json/ubjson/consume_file.hpp"
#include "tao/json/ubjson/consume_string.hpp"
#include "tao/json/ubjson/events/from_binary.hpp"
#include "tao/json/ubjson/events/from_file.hpp"
#include "tao/json/ubjson/events/from_input.hpp"
#include "tao/json/ubjson/events/from_string.hpp"
#include "tao/json/ubjson/events/to_stream.hpp"
#include "tao/json/ubjson/events/to_string.hpp"
#include "tao/json/ubjson/from_binary.hpp"
#include "tao/json/ubjson/from_file.hpp"
#include "tao/json/ubjson/from_input.hpp"
#include "tao/json/ubjson/from_string.hpp"
#include "tao/json/ubjson/internal/grammar.hpp"
#include "tao/json/ubjson/internal/marker.hpp"
#include "tao/json/ubjson/parts_parser.hpp"
#include "tao/json/ubjson/to_stream.hpp"
#include "tao/json/ubjson/to_string.hpp"
#include "tao/json/utf8.hpp"
#include "tao/json/value.hpp"