Project

General

Profile

Template
json_fwd.hpp File Reference
#include <cstdint>
#include <map>
#include <memory>
#include <string>
#include <vector>

Go to the source code of this file.

Macros

#define NLOHMANN_JSON_VERSION_MAJOR   3
 
#define NLOHMANN_JSON_VERSION_MINOR   11
 
#define NLOHMANN_JSON_VERSION_PATCH   2
 
#define JSON_DIAGNOSTICS   0
 
#define JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON   0
 
#define NLOHMANN_JSON_ABI_TAG_DIAGNOSTICS
 
#define NLOHMANN_JSON_ABI_TAG_LEGACY_DISCARDED_VALUE_COMPARISON
 
#define NLOHMANN_JSON_NAMESPACE_NO_VERSION   0
 
#define NLOHMANN_JSON_ABI_TAGS_CONCAT_EX(a, b)   json_abi ## a ## b
 
#define NLOHMANN_JSON_ABI_TAGS_CONCAT(a, b)    NLOHMANN_JSON_ABI_TAGS_CONCAT_EX(a, b)
 
#define NLOHMANN_JSON_ABI_TAGS
 
#define NLOHMANN_JSON_NAMESPACE_VERSION_CONCAT_EX(major, minor, patch)    _v ## major ## _ ## minor ## _ ## patch
 
#define NLOHMANN_JSON_NAMESPACE_VERSION_CONCAT(major, minor, patch)    NLOHMANN_JSON_NAMESPACE_VERSION_CONCAT_EX(major, minor, patch)
 
#define NLOHMANN_JSON_NAMESPACE_VERSION
 
#define NLOHMANN_JSON_NAMESPACE_CONCAT_EX(a, b)   a ## b
 
#define NLOHMANN_JSON_NAMESPACE_CONCAT(a, b)    NLOHMANN_JSON_NAMESPACE_CONCAT_EX(a, b)
 
#define NLOHMANN_JSON_NAMESPACE
 
#define NLOHMANN_JSON_NAMESPACE_BEGIN
 
#define NLOHMANN_JSON_NAMESPACE_END
 

Typedefs

using json = basic_json<>
 default specialization
 
using ordered_json = basic_json< nlohmann::ordered_map >
 specialization that maintains the insertion order of object keys
 

Macro Definition Documentation

◆ JSON_DIAGNOSTICS

#define JSON_DIAGNOSTICS   0

Definition at line 44 of file json_fwd.hpp.

◆ JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON

#define JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON   0

Definition at line 48 of file json_fwd.hpp.

◆ NLOHMANN_JSON_ABI_TAG_DIAGNOSTICS

#define NLOHMANN_JSON_ABI_TAG_DIAGNOSTICS

Definition at line 54 of file json_fwd.hpp.

◆ NLOHMANN_JSON_ABI_TAG_LEGACY_DISCARDED_VALUE_COMPARISON

#define NLOHMANN_JSON_ABI_TAG_LEGACY_DISCARDED_VALUE_COMPARISON

Definition at line 60 of file json_fwd.hpp.

◆ NLOHMANN_JSON_ABI_TAGS

#define NLOHMANN_JSON_ABI_TAGS
Value:
#define NLOHMANN_JSON_ABI_TAG_DIAGNOSTICS
Definition json_fwd.hpp:54
#define NLOHMANN_JSON_ABI_TAGS_CONCAT(a, b)
Definition json_fwd.hpp:69
#define NLOHMANN_JSON_ABI_TAG_LEGACY_DISCARDED_VALUE_COMPARISON
Definition json_fwd.hpp:60

Definition at line 72 of file json_fwd.hpp.

◆ NLOHMANN_JSON_ABI_TAGS_CONCAT

#define NLOHMANN_JSON_ABI_TAGS_CONCAT (   a,
 
)     NLOHMANN_JSON_ABI_TAGS_CONCAT_EX(a, b)

Definition at line 69 of file json_fwd.hpp.

◆ NLOHMANN_JSON_ABI_TAGS_CONCAT_EX

#define NLOHMANN_JSON_ABI_TAGS_CONCAT_EX (   a,
 
)    json_abi ## a ## b

Definition at line 68 of file json_fwd.hpp.

◆ NLOHMANN_JSON_NAMESPACE

#define NLOHMANN_JSON_NAMESPACE
Value:
nlohmann::NLOHMANN_JSON_NAMESPACE_CONCAT( \
#define NLOHMANN_JSON_ABI_TAGS
Definition json_fwd.hpp:72
#define NLOHMANN_JSON_NAMESPACE_VERSION
Definition json_fwd.hpp:86

Definition at line 98 of file json_fwd.hpp.

◆ NLOHMANN_JSON_NAMESPACE_BEGIN

#define NLOHMANN_JSON_NAMESPACE_BEGIN
Value:
namespace nlohmann \
{ \
inline namespace NLOHMANN_JSON_NAMESPACE_CONCAT( \
{
#define NLOHMANN_JSON_ABI_TAGS
Definition json.hpp:101
#define NLOHMANN_JSON_NAMESPACE_CONCAT(a, b)
Definition json.hpp:123
#define NLOHMANN_JSON_NAMESPACE_VERSION
Definition json.hpp:115

Definition at line 105 of file json_fwd.hpp.

◆ NLOHMANN_JSON_NAMESPACE_CONCAT

#define NLOHMANN_JSON_NAMESPACE_CONCAT (   a,
 
)     NLOHMANN_JSON_NAMESPACE_CONCAT_EX(a, b)

Definition at line 94 of file json_fwd.hpp.

◆ NLOHMANN_JSON_NAMESPACE_CONCAT_EX

#define NLOHMANN_JSON_NAMESPACE_CONCAT_EX (   a,
 
)    a ## b

Definition at line 93 of file json_fwd.hpp.

◆ NLOHMANN_JSON_NAMESPACE_END

#define NLOHMANN_JSON_NAMESPACE_END
Value:
} /* namespace (inline namespace) NOLINT(readability/namespace) */ \
}

Definition at line 115 of file json_fwd.hpp.

◆ NLOHMANN_JSON_NAMESPACE_NO_VERSION

#define NLOHMANN_JSON_NAMESPACE_NO_VERSION   0

Definition at line 64 of file json_fwd.hpp.

◆ NLOHMANN_JSON_NAMESPACE_VERSION

#define NLOHMANN_JSON_NAMESPACE_VERSION
Value:
#define NLOHMANN_JSON_VERSION_PATCH
Definition json_fwd.hpp:41
#define NLOHMANN_JSON_VERSION_MAJOR
Definition json_fwd.hpp:39
#define NLOHMANN_JSON_VERSION_MINOR
Definition json_fwd.hpp:40
#define NLOHMANN_JSON_NAMESPACE_VERSION_CONCAT(major, minor, patch)
Definition json_fwd.hpp:80

Definition at line 86 of file json_fwd.hpp.

◆ NLOHMANN_JSON_NAMESPACE_VERSION_CONCAT

#define NLOHMANN_JSON_NAMESPACE_VERSION_CONCAT (   major,
  minor,
  patch 
)     NLOHMANN_JSON_NAMESPACE_VERSION_CONCAT_EX(major, minor, patch)

Definition at line 80 of file json_fwd.hpp.

◆ NLOHMANN_JSON_NAMESPACE_VERSION_CONCAT_EX

#define NLOHMANN_JSON_NAMESPACE_VERSION_CONCAT_EX (   major,
  minor,
  patch 
)     _v ## major ## _ ## minor ## _ ## patch

Definition at line 78 of file json_fwd.hpp.

◆ NLOHMANN_JSON_VERSION_MAJOR

#define NLOHMANN_JSON_VERSION_MAJOR   3

Definition at line 39 of file json_fwd.hpp.

◆ NLOHMANN_JSON_VERSION_MINOR

#define NLOHMANN_JSON_VERSION_MINOR   11

Definition at line 40 of file json_fwd.hpp.

◆ NLOHMANN_JSON_VERSION_PATCH

#define NLOHMANN_JSON_VERSION_PATCH   2

Definition at line 41 of file json_fwd.hpp.

Typedef Documentation

◆ json

using json = basic_json<>

default specialization

See also
https://json.nlohmann.me/api/json/

Definition at line 163 of file json_fwd.hpp.

◆ ordered_json

using ordered_json = basic_json<nlohmann::ordered_map>

specialization that maintains the insertion order of object keys

See also
https://json.nlohmann.me/api/ordered_json/

Definition at line 172 of file json_fwd.hpp.