Add versioned inline namespace
Add a versioned inline namespace to prevent ABI issues when linking code using multiple library versions.
This commit is contained in:
parent
e3095f636f
commit
bfa5f9ac86
@ -18,6 +18,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
|
||||
/// @sa https://json.nlohmann.me/api/adl_serializer/
|
||||
template<typename ValueType, typename>
|
||||
@ -53,4 +55,5 @@ struct adl_serializer
|
||||
::nlohmann::to_json(j, std::forward<TargetType>(val));
|
||||
}
|
||||
};
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -14,6 +14,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
|
||||
/// @brief an internal type for a backed binary type
|
||||
/// @sa https://json.nlohmann.me/api/byte_container_with_subtype/
|
||||
@ -99,4 +101,5 @@ class byte_container_with_subtype : public BinaryType
|
||||
bool m_has_subtype = false;
|
||||
};
|
||||
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -30,20 +30,34 @@
|
||||
|
||||
#if JSON_HAS_EXPERIMENTAL_FILESYSTEM
|
||||
#include <experimental/filesystem>
|
||||
namespace nlohmann::detail
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
namespace std_fs = std::experimental::filesystem;
|
||||
} // namespace nlohmann::detail
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
#elif JSON_HAS_FILESYSTEM
|
||||
#include <filesystem>
|
||||
namespace nlohmann::detail
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
namespace std_fs = std::filesystem;
|
||||
} // namespace nlohmann::detail
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
#endif
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
template<typename BasicJsonType>
|
||||
@ -503,6 +517,7 @@ namespace // NOLINT(cert-dcl59-cpp,fuchsia-header-anon-namespaces,google-build-n
|
||||
JSON_INLINE_VARIABLE constexpr const auto& from_json = // NOLINT(misc-definitions-in-headers)
|
||||
detail::static_const<detail::from_json_fn>::value;
|
||||
#ifndef JSON_HAS_CPP_17
|
||||
} // namespace
|
||||
} // namespace
|
||||
#endif
|
||||
} // namespace nlohmann
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -20,6 +20,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
|
||||
@ -1048,7 +1050,7 @@ inline char* format_buffer(char* buf, int len, int decimal_exponent,
|
||||
return append_exponent(buf, n - 1);
|
||||
}
|
||||
|
||||
} // namespace dtoa_impl
|
||||
} // namespace dtoa_impl
|
||||
|
||||
/*!
|
||||
@brief generates a decimal representation of the floating-point number value in [first, last).
|
||||
@ -1115,5 +1117,6 @@ char* to_chars(char* first, const char* last, FloatType value)
|
||||
return dtoa_impl::format_buffer(first, len, decimal_exponent, kMinExp, kMaxExp);
|
||||
}
|
||||
|
||||
} // namespace detail
|
||||
} // namespace nlohmann
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -25,20 +25,34 @@
|
||||
|
||||
#if JSON_HAS_EXPERIMENTAL_FILESYSTEM
|
||||
#include <experimental/filesystem>
|
||||
namespace nlohmann::detail
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
namespace std_fs = std::experimental::filesystem;
|
||||
} // namespace nlohmann::detail
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
#elif JSON_HAS_FILESYSTEM
|
||||
#include <filesystem>
|
||||
namespace nlohmann::detail
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
namespace std_fs = std::filesystem;
|
||||
} // namespace nlohmann::detail
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
#endif
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
//////////////////
|
||||
@ -447,6 +461,7 @@ namespace // NOLINT(cert-dcl59-cpp,fuchsia-header-anon-namespaces,google-build-n
|
||||
JSON_INLINE_VARIABLE constexpr const auto& to_json = // NOLINT(misc-definitions-in-headers)
|
||||
detail::static_const<detail::to_json_fn>::value;
|
||||
#ifndef JSON_HAS_CPP_17
|
||||
} // namespace
|
||||
} // namespace
|
||||
#endif
|
||||
} // namespace nlohmann
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -25,8 +25,11 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
|
||||
////////////////
|
||||
// exceptions //
|
||||
////////////////
|
||||
@ -252,4 +255,5 @@ class other_error : public exception
|
||||
};
|
||||
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -17,6 +17,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
|
||||
@ -127,4 +129,5 @@ std::size_t hash(const BasicJsonType& j)
|
||||
}
|
||||
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -34,6 +34,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
|
||||
@ -2970,4 +2972,5 @@ class binary_reader
|
||||
json_sax_t* sax = nullptr;
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -28,6 +28,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
/// the supported input formats
|
||||
@ -410,7 +412,7 @@ struct container_input_adapter_factory< ContainerType,
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace container_input_adapter_factory_impl
|
||||
} // namespace container_input_adapter_factory_impl
|
||||
|
||||
template<typename ContainerType>
|
||||
typename container_input_adapter_factory_impl::container_input_adapter_factory<ContainerType>::adapter_type input_adapter(const ContainerType& container)
|
||||
@ -490,4 +492,5 @@ class span_input_adapter
|
||||
contiguous_bytes_input_adapter ia;
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -19,6 +19,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
|
||||
/*!
|
||||
@brief SAX interface
|
||||
@ -726,4 +728,5 @@ class json_sax_acceptor
|
||||
};
|
||||
} // namespace detail
|
||||
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -24,6 +24,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
///////////
|
||||
@ -1628,4 +1630,5 @@ scan_number_done:
|
||||
const char_int_type decimal_point_char = '.';
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -26,6 +26,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
////////////
|
||||
@ -505,4 +507,5 @@ class parser
|
||||
};
|
||||
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -12,6 +12,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
/// struct to capture the start position of the current token
|
||||
@ -31,5 +33,6 @@ struct position_t
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace detail
|
||||
} // namespace nlohmann
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -12,6 +12,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
/*!
|
||||
@ -30,4 +32,5 @@ template<typename BasicJsonType> struct internal_iterator
|
||||
primitive_iterator_t primitive_iterator {};
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -21,6 +21,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
// forward declare, to be able to friend it later on
|
||||
@ -746,5 +748,6 @@ class iter_impl // NOLINT(cppcoreguidelines-special-member-functions,hicpp-speci
|
||||
/// the actual iterator of the associated instance
|
||||
internal_iterator<typename std::remove_const<BasicJsonType>::type> m_it {};
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace nlohmann
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -23,6 +23,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
template<typename string_type>
|
||||
@ -202,6 +204,7 @@ auto get(const nlohmann::detail::iteration_proxy_value<IteratorType>& i) -> decl
|
||||
return i.value();
|
||||
}
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// The Addition to the STD Namespace is required to add
|
||||
@ -230,7 +233,7 @@ class tuple_element<N, ::nlohmann::detail::iteration_proxy_value<IteratorType >>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
} // namespace std
|
||||
} // namespace std
|
||||
|
||||
#if JSON_HAS_RANGES
|
||||
template <typename IteratorType>
|
||||
|
||||
@ -15,6 +15,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
template<typename It, typename = void>
|
||||
@ -55,5 +57,6 @@ struct iterator_traits<T*, enable_if_t<std::is_object<T>::value>>
|
||||
using pointer = T*;
|
||||
using reference = T&;
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace nlohmann
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -14,6 +14,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
//////////////////////
|
||||
@ -124,4 +126,5 @@ class json_reverse_iterator : public std::reverse_iterator<Base>
|
||||
}
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -15,6 +15,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
/*
|
||||
@ -128,4 +130,5 @@ class primitive_iterator_t
|
||||
}
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -29,6 +29,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
|
||||
/// @brief JSON Pointer defines a string syntax for identifying a specific value within a JSON document
|
||||
/// @sa https://json.nlohmann.me/api/json_pointer/
|
||||
@ -897,4 +899,5 @@ inline bool operator!=(json_pointer<RefStringTypeLhs> const& lhs,
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -15,6 +15,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
template<typename BasicJsonType>
|
||||
@ -73,4 +75,5 @@ class json_ref
|
||||
value_type const* value_ref = nullptr;
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -12,5 +12,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
NLOHMANN_CAN_CALL_STD_FUNC_IMPL(begin);
|
||||
} // namespace nlohmann
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -12,5 +12,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
NLOHMANN_CAN_CALL_STD_FUNC_IMPL(end);
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -17,6 +17,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
|
||||
@ -164,4 +166,5 @@ struct static_const
|
||||
#endif
|
||||
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -15,6 +15,8 @@
|
||||
// https://en.cppreference.com/w/cpp/experimental/is_detected
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
struct nonesuch
|
||||
@ -66,4 +68,5 @@ template<class To, template<class...> class Op, class... Args>
|
||||
using is_detected_convertible =
|
||||
std::is_convertible<detected_t<Op, Args...>, To>;
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -10,9 +10,12 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
// dispatching helper struct
|
||||
template <class T> struct identity_tag {};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -17,6 +17,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
template<typename T>
|
||||
@ -154,4 +156,5 @@ struct is_sax_static_asserts
|
||||
"std::string&, const exception&)");
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -24,6 +24,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
/*!
|
||||
@brief detail namespace with internal helper functions
|
||||
|
||||
@ -686,4 +688,5 @@ inline constexpr bool value_in_range_of(T val)
|
||||
}
|
||||
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -10,6 +10,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
template<typename ...Ts> struct make_void
|
||||
@ -17,5 +19,6 @@ template<typename ...Ts> struct make_void
|
||||
using type = void;
|
||||
};
|
||||
template<typename ...Ts> using void_t = typename make_void<Ts...>::type;
|
||||
} // namespace detail
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -26,6 +26,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
///////////////////
|
||||
@ -1834,4 +1836,5 @@ class binary_writer
|
||||
output_adapter_t<CharType> oa = nullptr;
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -24,6 +24,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
/// abstract output adapter interface
|
||||
@ -143,4 +145,5 @@ class output_adapter
|
||||
output_adapter_t<CharType> oa = nullptr;
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -33,6 +33,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
///////////////////
|
||||
@ -984,4 +986,5 @@ class serializer
|
||||
const error_handler_t error_handler;
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -17,6 +17,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
|
||||
@ -143,5 +145,6 @@ inline OutStringType concat(Args && ... args)
|
||||
return str;
|
||||
}
|
||||
|
||||
} // namespace detail
|
||||
} // namespace nlohmann
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -12,6 +12,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
|
||||
@ -69,5 +71,6 @@ static void unescape(StringType& s)
|
||||
replace_substring(s, StringType{"~0"}, StringType{"~"});
|
||||
}
|
||||
|
||||
} // namespace detail
|
||||
} // namespace nlohmann
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -20,6 +20,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
///////////////////////////
|
||||
@ -114,4 +116,5 @@ inline bool operator<(const value_t lhs, const value_t rhs) noexcept
|
||||
}
|
||||
#endif
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -85,6 +85,8 @@
|
||||
*/
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
|
||||
/*!
|
||||
@brief a class to store JSON values
|
||||
@ -5086,7 +5088,8 @@ std::string to_string(const NLOHMANN_BASIC_JSON_TPL& j)
|
||||
return j.dump();
|
||||
}
|
||||
|
||||
} // namespace nlohmann
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
///////////////////////
|
||||
// nonmember support //
|
||||
@ -5140,7 +5143,7 @@ inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1, nlohmann::NLOHMANN_BASIC
|
||||
|
||||
#endif
|
||||
|
||||
} // namespace std
|
||||
} // namespace std
|
||||
|
||||
/// @brief user-defined string literal for JSON values
|
||||
/// @sa https://json.nlohmann.me/api/basic_json/operator_literal_json/
|
||||
|
||||
@ -22,6 +22,8 @@
|
||||
*/
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
/*!
|
||||
@brief default JSONSerializer template argument
|
||||
|
||||
@ -67,6 +69,7 @@ struct ordered_map;
|
||||
/// @sa https://json.nlohmann.me/api/ordered_json/
|
||||
using ordered_json = basic_json<nlohmann::ordered_map>;
|
||||
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
#endif // INCLUDE_NLOHMANN_JSON_FWD_HPP_
|
||||
|
||||
@ -22,6 +22,8 @@
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
|
||||
/// ordered_map: a minimal map-like container that preserves insertion order
|
||||
/// for use within nlohmann::basic_json<ordered_map>
|
||||
@ -357,4 +359,5 @@ private:
|
||||
JSON_NO_UNIQUE_ADDRESS key_compare m_compare = key_compare();
|
||||
};
|
||||
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
@ -2199,6 +2199,8 @@ JSON_HEDLEY_DIAGNOSTIC_POP
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
template<typename ...Ts> struct make_void
|
||||
@ -2206,13 +2208,16 @@ template<typename ...Ts> struct make_void
|
||||
using type = void;
|
||||
};
|
||||
template<typename ...Ts> using void_t = typename make_void<Ts...>::type;
|
||||
} // namespace detail
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
|
||||
// https://en.cppreference.com/w/cpp/experimental/is_detected
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
struct nonesuch
|
||||
@ -2264,6 +2269,7 @@ template<class To, template<class...> class Op, class... Args>
|
||||
using is_detected_convertible =
|
||||
std::is_convertible<detected_t<Op, Args...>, To>;
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
|
||||
@ -2730,6 +2736,8 @@ using is_detected_convertible =
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
///////////////////////////
|
||||
@ -2824,6 +2832,7 @@ inline bool operator<(const value_t lhs, const value_t rhs) noexcept
|
||||
}
|
||||
#endif
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/string_escape.hpp>
|
||||
@ -2842,6 +2851,8 @@ inline bool operator<(const value_t lhs, const value_t rhs) noexcept
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
|
||||
@ -2899,8 +2910,9 @@ static void unescape(StringType& s)
|
||||
replace_substring(s, StringType{"~0"}, StringType{"~"});
|
||||
}
|
||||
|
||||
} // namespace detail
|
||||
} // namespace nlohmann
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/input/position_t.hpp>
|
||||
// __ _____ _____ _____
|
||||
@ -2917,6 +2929,8 @@ static void unescape(StringType& s)
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
/// struct to capture the start position of the current token
|
||||
@ -2936,8 +2950,9 @@ struct position_t
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace detail
|
||||
} // namespace nlohmann
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/macro_scope.hpp>
|
||||
|
||||
@ -2962,6 +2977,8 @@ struct position_t
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
|
||||
@ -3109,6 +3126,7 @@ struct static_const
|
||||
#endif
|
||||
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/meta/type_traits.hpp>
|
||||
@ -3150,6 +3168,8 @@ struct static_const
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
template<typename It, typename = void>
|
||||
@ -3190,8 +3210,9 @@ struct iterator_traits<T*, enable_if_t<std::is_object<T>::value>>
|
||||
using pointer = T*;
|
||||
using reference = T&;
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace nlohmann
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/meta/call_std/begin.hpp>
|
||||
// __ _____ _____ _____
|
||||
@ -3209,8 +3230,11 @@ struct iterator_traits<T*, enable_if_t<std::is_object<T>::value>>
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
NLOHMANN_CAN_CALL_STD_FUNC_IMPL(begin);
|
||||
} // namespace nlohmann
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/meta/call_std/end.hpp>
|
||||
// __ _____ _____ _____
|
||||
@ -3228,7 +3252,10 @@ NLOHMANN_CAN_CALL_STD_FUNC_IMPL(begin);
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
NLOHMANN_CAN_CALL_STD_FUNC_IMPL(end);
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/meta/cpp_future.hpp>
|
||||
@ -3260,6 +3287,8 @@ NLOHMANN_CAN_CALL_STD_FUNC_IMPL(end);
|
||||
*/
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
/*!
|
||||
@brief default JSONSerializer template argument
|
||||
|
||||
@ -3305,6 +3334,7 @@ struct ordered_map;
|
||||
/// @sa https://json.nlohmann.me/api/ordered_json/
|
||||
using ordered_json = basic_json<nlohmann::ordered_map>;
|
||||
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
#endif // INCLUDE_NLOHMANN_JSON_FWD_HPP_
|
||||
@ -3312,6 +3342,8 @@ using ordered_json = basic_json<nlohmann::ordered_map>;
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
/*!
|
||||
@brief detail namespace with internal helper functions
|
||||
|
||||
@ -3974,6 +4006,7 @@ inline constexpr bool value_in_range_of(T val)
|
||||
}
|
||||
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/string_concat.hpp>
|
||||
@ -3998,6 +4031,8 @@ inline constexpr bool value_in_range_of(T val)
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
|
||||
@ -4124,15 +4159,19 @@ inline OutStringType concat(Args && ... args)
|
||||
return str;
|
||||
}
|
||||
|
||||
} // namespace detail
|
||||
} // namespace nlohmann
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
|
||||
////////////////
|
||||
// exceptions //
|
||||
////////////////
|
||||
@ -4358,6 +4397,7 @@ class other_error : public exception
|
||||
};
|
||||
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/macro_scope.hpp>
|
||||
@ -4377,11 +4417,14 @@ class other_error : public exception
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
// dispatching helper struct
|
||||
template <class T> struct identity_tag {};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/meta/type_traits.hpp>
|
||||
@ -4393,20 +4436,34 @@ template <class T> struct identity_tag {};
|
||||
|
||||
#if JSON_HAS_EXPERIMENTAL_FILESYSTEM
|
||||
#include <experimental/filesystem>
|
||||
namespace nlohmann::detail
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
namespace std_fs = std::experimental::filesystem;
|
||||
} // namespace nlohmann::detail
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
#elif JSON_HAS_FILESYSTEM
|
||||
#include <filesystem>
|
||||
namespace nlohmann::detail
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
namespace std_fs = std::filesystem;
|
||||
} // namespace nlohmann::detail
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
#endif
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
template<typename BasicJsonType>
|
||||
@ -4866,9 +4923,10 @@ namespace // NOLINT(cert-dcl59-cpp,fuchsia-header-anon-namespaces,google-build-n
|
||||
JSON_INLINE_VARIABLE constexpr const auto& from_json = // NOLINT(misc-definitions-in-headers)
|
||||
detail::static_const<detail::from_json_fn>::value;
|
||||
#ifndef JSON_HAS_CPP_17
|
||||
} // namespace
|
||||
} // namespace
|
||||
#endif
|
||||
} // namespace nlohmann
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/conversions/to_json.hpp>
|
||||
// __ _____ _____ _____
|
||||
@ -4920,6 +4978,8 @@ JSON_INLINE_VARIABLE constexpr const auto& from_json = // NOLINT(misc-definition
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
template<typename string_type>
|
||||
@ -5099,6 +5159,7 @@ auto get(const nlohmann::detail::iteration_proxy_value<IteratorType>& i) -> decl
|
||||
return i.value();
|
||||
}
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// The Addition to the STD Namespace is required to add
|
||||
@ -5127,7 +5188,7 @@ class tuple_element<N, ::nlohmann::detail::iteration_proxy_value<IteratorType >>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
} // namespace std
|
||||
} // namespace std
|
||||
|
||||
#if JSON_HAS_RANGES
|
||||
template <typename IteratorType>
|
||||
@ -5143,20 +5204,34 @@ class tuple_element<N, ::nlohmann::detail::iteration_proxy_value<IteratorType >>
|
||||
|
||||
#if JSON_HAS_EXPERIMENTAL_FILESYSTEM
|
||||
#include <experimental/filesystem>
|
||||
namespace nlohmann::detail
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
namespace std_fs = std::experimental::filesystem;
|
||||
} // namespace nlohmann::detail
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
#elif JSON_HAS_FILESYSTEM
|
||||
#include <filesystem>
|
||||
namespace nlohmann::detail
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
namespace std_fs = std::filesystem;
|
||||
} // namespace nlohmann::detail
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
#endif
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
//////////////////
|
||||
@ -5565,9 +5640,10 @@ namespace // NOLINT(cert-dcl59-cpp,fuchsia-header-anon-namespaces,google-build-n
|
||||
JSON_INLINE_VARIABLE constexpr const auto& to_json = // NOLINT(misc-definitions-in-headers)
|
||||
detail::static_const<detail::to_json_fn>::value;
|
||||
#ifndef JSON_HAS_CPP_17
|
||||
} // namespace
|
||||
} // namespace
|
||||
#endif
|
||||
} // namespace nlohmann
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/meta/identity_tag.hpp>
|
||||
|
||||
@ -5576,6 +5652,8 @@ JSON_INLINE_VARIABLE constexpr const auto& to_json = // NOLINT(misc-definitions-
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
|
||||
/// @sa https://json.nlohmann.me/api/adl_serializer/
|
||||
template<typename ValueType, typename>
|
||||
@ -5611,6 +5689,7 @@ struct adl_serializer
|
||||
::nlohmann::to_json(j, std::forward<TargetType>(val));
|
||||
}
|
||||
};
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/byte_container_with_subtype.hpp>
|
||||
@ -5630,6 +5709,8 @@ struct adl_serializer
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
|
||||
/// @brief an internal type for a backed binary type
|
||||
/// @sa https://json.nlohmann.me/api/byte_container_with_subtype/
|
||||
@ -5715,6 +5796,7 @@ class byte_container_with_subtype : public BinaryType
|
||||
bool m_has_subtype = false;
|
||||
};
|
||||
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/conversions/from_json.hpp>
|
||||
@ -5745,6 +5827,8 @@ class byte_container_with_subtype : public BinaryType
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
|
||||
@ -5855,6 +5939,7 @@ std::size_t hash(const BasicJsonType& j)
|
||||
}
|
||||
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/input/binary_reader.hpp>
|
||||
@ -5917,6 +6002,8 @@ std::size_t hash(const BasicJsonType& j)
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
/// the supported input formats
|
||||
@ -6299,7 +6386,7 @@ struct container_input_adapter_factory< ContainerType,
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace container_input_adapter_factory_impl
|
||||
} // namespace container_input_adapter_factory_impl
|
||||
|
||||
template<typename ContainerType>
|
||||
typename container_input_adapter_factory_impl::container_input_adapter_factory<ContainerType>::adapter_type input_adapter(const ContainerType& container)
|
||||
@ -6379,6 +6466,7 @@ class span_input_adapter
|
||||
contiguous_bytes_input_adapter ia;
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/input/json_sax.hpp>
|
||||
@ -6406,6 +6494,8 @@ class span_input_adapter
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
|
||||
/*!
|
||||
@brief SAX interface
|
||||
@ -7113,6 +7203,7 @@ class json_sax_acceptor
|
||||
};
|
||||
} // namespace detail
|
||||
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/input/lexer.hpp>
|
||||
@ -7145,6 +7236,8 @@ class json_sax_acceptor
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
///////////
|
||||
@ -8749,6 +8842,7 @@ scan_number_done:
|
||||
const char_int_type decimal_point_char = '.';
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/macro_scope.hpp>
|
||||
@ -8775,6 +8869,8 @@ scan_number_done:
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
template<typename T>
|
||||
@ -8912,6 +9008,7 @@ struct is_sax_static_asserts
|
||||
"std::string&, const exception&)");
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/meta/type_traits.hpp>
|
||||
@ -8923,6 +9020,8 @@ struct is_sax_static_asserts
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
|
||||
@ -11859,6 +11958,7 @@ class binary_reader
|
||||
json_sax_t* sax = nullptr;
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/input/input_adapters.hpp>
|
||||
@ -11902,6 +12002,8 @@ class binary_reader
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
////////////
|
||||
@ -12381,6 +12483,7 @@ class parser
|
||||
};
|
||||
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/iterators/internal_iterator.hpp>
|
||||
@ -12413,6 +12516,8 @@ class parser
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
/*
|
||||
@ -12526,11 +12631,14 @@ class primitive_iterator_t
|
||||
}
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
/*!
|
||||
@ -12549,6 +12657,7 @@ template<typename BasicJsonType> struct internal_iterator
|
||||
primitive_iterator_t primitive_iterator {};
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/iterators/iter_impl.hpp>
|
||||
@ -12582,6 +12691,8 @@ template<typename BasicJsonType> struct internal_iterator
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
// forward declare, to be able to friend it later on
|
||||
@ -13307,8 +13418,9 @@ class iter_impl // NOLINT(cppcoreguidelines-special-member-functions,hicpp-speci
|
||||
/// the actual iterator of the associated instance
|
||||
internal_iterator<typename std::remove_const<BasicJsonType>::type> m_it {};
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace nlohmann
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/iterators/iteration_proxy.hpp>
|
||||
|
||||
@ -13329,6 +13441,8 @@ class iter_impl // NOLINT(cppcoreguidelines-special-member-functions,hicpp-speci
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
//////////////////////
|
||||
@ -13439,6 +13553,7 @@ class json_reverse_iterator : public std::reverse_iterator<Base>
|
||||
}
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/iterators/primitive_iterator.hpp>
|
||||
@ -13480,6 +13595,8 @@ class json_reverse_iterator : public std::reverse_iterator<Base>
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
|
||||
/// @brief JSON Pointer defines a string syntax for identifying a specific value within a JSON document
|
||||
/// @sa https://json.nlohmann.me/api/json_pointer/
|
||||
@ -14348,6 +14465,7 @@ inline bool operator!=(json_pointer<RefStringTypeLhs> const& lhs,
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/json_ref.hpp>
|
||||
@ -14369,6 +14487,8 @@ inline bool operator!=(json_pointer<RefStringTypeLhs> const& lhs,
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
template<typename BasicJsonType>
|
||||
@ -14427,6 +14547,7 @@ class json_ref
|
||||
value_type const* value_ref = nullptr;
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/macro_scope.hpp>
|
||||
@ -14493,6 +14614,8 @@ class json_ref
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
/// abstract output adapter interface
|
||||
@ -14612,6 +14735,7 @@ class output_adapter
|
||||
output_adapter_t<CharType> oa = nullptr;
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/string_concat.hpp>
|
||||
@ -14619,6 +14743,8 @@ class output_adapter
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
///////////////////
|
||||
@ -16427,6 +16553,7 @@ class binary_writer
|
||||
output_adapter_t<CharType> oa = nullptr;
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/output/output_adapters.hpp>
|
||||
@ -16480,6 +16607,8 @@ class binary_writer
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
|
||||
@ -17508,7 +17637,7 @@ inline char* format_buffer(char* buf, int len, int decimal_exponent,
|
||||
return append_exponent(buf, n - 1);
|
||||
}
|
||||
|
||||
} // namespace dtoa_impl
|
||||
} // namespace dtoa_impl
|
||||
|
||||
/*!
|
||||
@brief generates a decimal representation of the floating-point number value in [first, last).
|
||||
@ -17575,8 +17704,9 @@ char* to_chars(char* first, const char* last, FloatType value)
|
||||
return dtoa_impl::format_buffer(first, len, decimal_exponent, kMinExp, kMaxExp);
|
||||
}
|
||||
|
||||
} // namespace detail
|
||||
} // namespace nlohmann
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/exceptions.hpp>
|
||||
|
||||
@ -17595,6 +17725,8 @@ char* to_chars(char* first, const char* last, FloatType value)
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
///////////////////
|
||||
@ -18546,6 +18678,7 @@ class serializer
|
||||
const error_handler_t error_handler;
|
||||
};
|
||||
} // namespace detail
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
// #include <nlohmann/detail/value_t.hpp>
|
||||
@ -18579,6 +18712,8 @@ class serializer
|
||||
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
|
||||
/// ordered_map: a minimal map-like container that preserves insertion order
|
||||
/// for use within nlohmann::basic_json<ordered_map>
|
||||
@ -18914,6 +19049,7 @@ private:
|
||||
JSON_NO_UNIQUE_ADDRESS key_compare m_compare = key_compare();
|
||||
};
|
||||
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
|
||||
@ -18929,6 +19065,8 @@ private:
|
||||
*/
|
||||
namespace nlohmann
|
||||
{
|
||||
inline namespace json_v3_10_5
|
||||
{
|
||||
|
||||
/*!
|
||||
@brief a class to store JSON values
|
||||
@ -23930,7 +24068,8 @@ std::string to_string(const NLOHMANN_BASIC_JSON_TPL& j)
|
||||
return j.dump();
|
||||
}
|
||||
|
||||
} // namespace nlohmann
|
||||
} // namespace json_v3_10_5
|
||||
} // namespace nlohmann
|
||||
|
||||
///////////////////////
|
||||
// nonmember support //
|
||||
@ -23984,7 +24123,7 @@ inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1, nlohmann::NLOHMANN_BASIC
|
||||
|
||||
#endif
|
||||
|
||||
} // namespace std
|
||||
} // namespace std
|
||||
|
||||
/// @brief user-defined string literal for JSON values
|
||||
/// @sa https://json.nlohmann.me/api/basic_json/operator_literal_json/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user