]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/third_party/nlohmann-json/doc/mkdocs/docs/api/macros/index.md
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / third_party / nlohmann-json / doc / mkdocs / docs / api / macros / index.md
CommitLineData
1e59de90
TL
1# Macros
2
3Some aspects of the library can be configured by defining preprocessor macros before including the `json.hpp` header.
4
5- [`JSON_ASSERT(x)`](json_assert.md)
6- `JSON_CATCH_USER(exception)`
7- `JSON_DIAGNOSTICS`
8- `JSON_HAS_CPP_11`, `JSON_HAS_CPP_14`, `JSON_HAS_CPP_17`, `JSON_HAS_CPP_20`
9- `JSON_NOEXCEPTION`
10- `JSON_NO_IO`
11- `JSON_SKIP_UNSUPPORTED_COMPILER_CHECK`
12- `JSON_THROW_USER(exception)`
13- `JSON_TRY_USER`
14- `JSON_USE_IMPLICIT_CONVERSIONS`
15- `NLOHMANN_DEFINE_TYPE_INTRUSIVE(type, member...)`
16- `NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(type, member...)`
17- `NLOHMANN_JSON_SERIALIZE_ENUM(type, ...)`
18- `NLOHMANN_JSON_VERSION_MAJOR`, `NLOHMANN_JSON_VERSION_MINOR`, `NLOHMANN_JSON_VERSION_PATCH`