![]() |
Project
|
#include <algorithm>
#include <cassert>
#include <ciso646>
#include <cstddef>
#include <functional>
#include <initializer_list>
#include <iosfwd>
#include <iterator>
#include <numeric>
#include <string>
#include <utility>
#include <cstdint>
#include <map>
#include <memory>
#include <vector>
#include <limits>
#include <type_traits>
#include <exception>
#include <stdexcept>
#include <array>
#include <forward_list>
#include <tuple>
#include <valarray>
#include <cstring>
#include <ios>
#include <istream>
#include <clocale>
#include <cstdlib>
#include <iomanip>
#include <sstream>
#include <cmath>
#include <ostream>
#include <cstdio>
Go to the source code of this file.
Namespaces | |
namespace | nlohmann |
namespace for Niels Lohmann | |
namespace | nlohmann::detail |
detail namespace with internal helper functions | |
namespace | nlohmann::detail::dtoa_impl |
implements the Grisu2 algorithm for binary to decimal floating-point conversion. | |
Macros | |
#define | NLOHMANN_JSON_VERSION_MAJOR 3 |
#define | NLOHMANN_JSON_VERSION_MINOR 1 |
#define | NLOHMANN_JSON_VERSION_PATCH 2 |
#define | NLOHMANN_JSON_FWD_HPP |
#define | JSON_DEPRECATED |
#define | JSON_THROW(exception) std::abort() |
#define | JSON_TRY if (true) |
#define | JSON_CATCH(exception) if (false) |
#define | JSON_LIKELY(x) x |
#define | JSON_UNLIKELY(x) x |
#define | NLOHMANN_BASIC_JSON_TPL_DECLARATION |
#define | NLOHMANN_BASIC_JSON_TPL |
#define | NLOHMANN_JSON_HAS_HELPER(type) |
Helper to determine whether there's a key_type for T. | |
Typedefs | |
using | nlohmann::json = basic_json<> |
default JSON class | |
template<bool B, typename T = void> | |
using | nlohmann::detail::enable_if_t = typename std::enable_if< B, T >::type |
template<typename T > | |
using | nlohmann::detail::uncvref_t = typename std::remove_cv< typename std::remove_reference< T >::type >::type |
template<typename... Ts> | |
using | nlohmann::detail::index_sequence_for = make_index_sequence< sizeof...(Ts)> |
template<typename CharType > | |
using | nlohmann::detail::output_adapter_t = std::shared_ptr< output_adapter_protocol< CharType > > |
a type to simplify interfaces | |
Functions | |
nlohmann::detail::NLOHMANN_JSON_HAS_HELPER (mapped_type) | |
nlohmann::detail::NLOHMANN_JSON_HAS_HELPER (key_type) | |
nlohmann::detail::NLOHMANN_JSON_HAS_HELPER (value_type) | |
nlohmann::detail::NLOHMANN_JSON_HAS_HELPER (iterator) | |
#define NLOHMANN_BASIC_JSON_TPL |
#define NLOHMANN_BASIC_JSON_TPL_DECLARATION |
#define NLOHMANN_JSON_HAS_HELPER | ( | type | ) |
Helper to determine whether there's a key_type for T.
This helper is used to tell associative containers apart from other containers such as sequence containers. For instance, std::map
passes the test as it contains a mapped_type
, whereas std::vector
fails the test.