annotate dep/json/json_fwd.hpp @ 360:6ca952f6a95c

CI/linux: need desktop-file-utils package
author Paper <paper@paper.us.eu.org>
date Mon, 15 Jul 2024 01:09:52 -0400
parents 9b10175be389
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
175
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
1 // __ _____ _____ _____
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
2 // __| | __| | | | JSON for Modern C++
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
3 // | | |__ | | | | | | version 3.11.3
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
5 //
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
6 // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me>
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
7 // SPDX-License-Identifier: MIT
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
8
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
9 #ifndef INCLUDE_NLOHMANN_JSON_FWD_HPP_
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
10 #define INCLUDE_NLOHMANN_JSON_FWD_HPP_
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
11
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
12 #include <cstdint> // int64_t, uint64_t
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
13 #include <map> // map
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
14 #include <memory> // allocator
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
15 #include <string> // string
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
16 #include <vector> // vector
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
17
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
18 // #include <nlohmann/detail/abi_macros.hpp>
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
19 // __ _____ _____ _____
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
20 // __| | __| | | | JSON for Modern C++
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
21 // | | |__ | | | | | | version 3.11.3
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
22 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
23 //
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
24 // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me>
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
25 // SPDX-License-Identifier: MIT
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
26
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
27
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
28
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
29 // This file contains all macro definitions affecting or depending on the ABI
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
30
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
31 #ifndef JSON_SKIP_LIBRARY_VERSION_CHECK
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
32 #if defined(NLOHMANN_JSON_VERSION_MAJOR) && defined(NLOHMANN_JSON_VERSION_MINOR) && defined(NLOHMANN_JSON_VERSION_PATCH)
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
33 #if NLOHMANN_JSON_VERSION_MAJOR != 3 || NLOHMANN_JSON_VERSION_MINOR != 11 || NLOHMANN_JSON_VERSION_PATCH != 3
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
34 #warning "Already included a different version of the library!"
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
35 #endif
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
36 #endif
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
37 #endif
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
38
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
39 #define NLOHMANN_JSON_VERSION_MAJOR 3 // NOLINT(modernize-macro-to-enum)
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
40 #define NLOHMANN_JSON_VERSION_MINOR 11 // NOLINT(modernize-macro-to-enum)
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
41 #define NLOHMANN_JSON_VERSION_PATCH 3 // NOLINT(modernize-macro-to-enum)
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
42
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
43 #ifndef JSON_DIAGNOSTICS
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
44 #define JSON_DIAGNOSTICS 0
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
45 #endif
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
46
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
47 #ifndef JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
48 #define JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON 0
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
49 #endif
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
50
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
51 #if JSON_DIAGNOSTICS
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
52 #define NLOHMANN_JSON_ABI_TAG_DIAGNOSTICS _diag
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
53 #else
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
54 #define NLOHMANN_JSON_ABI_TAG_DIAGNOSTICS
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
55 #endif
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
56
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
57 #if JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
58 #define NLOHMANN_JSON_ABI_TAG_LEGACY_DISCARDED_VALUE_COMPARISON _ldvcmp
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
59 #else
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
60 #define NLOHMANN_JSON_ABI_TAG_LEGACY_DISCARDED_VALUE_COMPARISON
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
61 #endif
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
62
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
63 #ifndef NLOHMANN_JSON_NAMESPACE_NO_VERSION
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
64 #define NLOHMANN_JSON_NAMESPACE_NO_VERSION 0
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
65 #endif
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
66
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
67 // Construct the namespace ABI tags component
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
68 #define NLOHMANN_JSON_ABI_TAGS_CONCAT_EX(a, b) json_abi ## a ## b
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
69 #define NLOHMANN_JSON_ABI_TAGS_CONCAT(a, b) \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
70 NLOHMANN_JSON_ABI_TAGS_CONCAT_EX(a, b)
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
71
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
72 #define NLOHMANN_JSON_ABI_TAGS \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
73 NLOHMANN_JSON_ABI_TAGS_CONCAT( \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
74 NLOHMANN_JSON_ABI_TAG_DIAGNOSTICS, \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
75 NLOHMANN_JSON_ABI_TAG_LEGACY_DISCARDED_VALUE_COMPARISON)
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
76
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
77 // Construct the namespace version component
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
78 #define NLOHMANN_JSON_NAMESPACE_VERSION_CONCAT_EX(major, minor, patch) \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
79 _v ## major ## _ ## minor ## _ ## patch
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
80 #define NLOHMANN_JSON_NAMESPACE_VERSION_CONCAT(major, minor, patch) \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
81 NLOHMANN_JSON_NAMESPACE_VERSION_CONCAT_EX(major, minor, patch)
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
82
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
83 #if NLOHMANN_JSON_NAMESPACE_NO_VERSION
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
84 #define NLOHMANN_JSON_NAMESPACE_VERSION
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
85 #else
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
86 #define NLOHMANN_JSON_NAMESPACE_VERSION \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
87 NLOHMANN_JSON_NAMESPACE_VERSION_CONCAT(NLOHMANN_JSON_VERSION_MAJOR, \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
88 NLOHMANN_JSON_VERSION_MINOR, \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
89 NLOHMANN_JSON_VERSION_PATCH)
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
90 #endif
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
91
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
92 // Combine namespace components
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
93 #define NLOHMANN_JSON_NAMESPACE_CONCAT_EX(a, b) a ## b
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
94 #define NLOHMANN_JSON_NAMESPACE_CONCAT(a, b) \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
95 NLOHMANN_JSON_NAMESPACE_CONCAT_EX(a, b)
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
96
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
97 #ifndef NLOHMANN_JSON_NAMESPACE
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
98 #define NLOHMANN_JSON_NAMESPACE \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
99 nlohmann::NLOHMANN_JSON_NAMESPACE_CONCAT( \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
100 NLOHMANN_JSON_ABI_TAGS, \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
101 NLOHMANN_JSON_NAMESPACE_VERSION)
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
102 #endif
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
103
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
104 #ifndef NLOHMANN_JSON_NAMESPACE_BEGIN
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
105 #define NLOHMANN_JSON_NAMESPACE_BEGIN \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
106 namespace nlohmann \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
107 { \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
108 inline namespace NLOHMANN_JSON_NAMESPACE_CONCAT( \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
109 NLOHMANN_JSON_ABI_TAGS, \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
110 NLOHMANN_JSON_NAMESPACE_VERSION) \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
111 {
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
112 #endif
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
113
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
114 #ifndef NLOHMANN_JSON_NAMESPACE_END
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
115 #define NLOHMANN_JSON_NAMESPACE_END \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
116 } /* namespace (inline namespace) NOLINT(readability/namespace) */ \
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
117 } // namespace nlohmann
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
118 #endif
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
119
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
120
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
121 /*!
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
122 @brief namespace for Niels Lohmann
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
123 @see https://github.com/nlohmann
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
124 @since version 1.0.0
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
125 */
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
126 NLOHMANN_JSON_NAMESPACE_BEGIN
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
127
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
128 /*!
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
129 @brief default JSONSerializer template argument
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
130
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
131 This serializer ignores the template arguments and uses ADL
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
132 ([argument-dependent lookup](https://en.cppreference.com/w/cpp/language/adl))
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
133 for serialization.
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
134 */
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
135 template<typename T = void, typename SFINAE = void>
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
136 struct adl_serializer;
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
137
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
138 /// a class to store JSON values
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
139 /// @sa https://json.nlohmann.me/api/basic_json/
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
140 template<template<typename U, typename V, typename... Args> class ObjectType =
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
141 std::map,
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
142 template<typename U, typename... Args> class ArrayType = std::vector,
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
143 class StringType = std::string, class BooleanType = bool,
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
144 class NumberIntegerType = std::int64_t,
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
145 class NumberUnsignedType = std::uint64_t,
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
146 class NumberFloatType = double,
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
147 template<typename U> class AllocatorType = std::allocator,
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
148 template<typename T, typename SFINAE = void> class JSONSerializer =
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
149 adl_serializer,
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
150 class BinaryType = std::vector<std::uint8_t>, // cppcheck-suppress syntaxError
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
151 class CustomBaseClass = void>
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
152 class basic_json;
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
153
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
154 /// @brief JSON Pointer defines a string syntax for identifying a specific value within a JSON document
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
155 /// @sa https://json.nlohmann.me/api/json_pointer/
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
156 template<typename RefStringType>
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
157 class json_pointer;
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
158
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
159 /*!
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
160 @brief default specialization
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
161 @sa https://json.nlohmann.me/api/json/
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
162 */
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
163 using json = basic_json<>;
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
164
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
165 /// @brief a minimal map-like container that preserves insertion order
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
166 /// @sa https://json.nlohmann.me/api/ordered_map/
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
167 template<class Key, class T, class IgnoredLess, class Allocator>
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
168 struct ordered_map;
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
169
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
170 /// @brief specialization that maintains the insertion order of object keys
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
171 /// @sa https://json.nlohmann.me/api/ordered_json/
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
172 using ordered_json = basic_json<nlohmann::ordered_map>;
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
173
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
174 NLOHMANN_JSON_NAMESPACE_END
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
175
9b10175be389 dep/json: update to v3.11.3
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
176 #endif // INCLUDE_NLOHMANN_JSON_FWD_HPP_