Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
json
Commits
85173f56
Unverified
Commit
85173f56
authored
Jan 10, 2018
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🔨
some clean up
parent
ce53537b
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
58 additions
and
178 deletions
+58
-178
develop/adl_serializer.hpp
develop/adl_serializer.hpp
+1
-4
develop/detail/conversions/from_json.hpp
develop/detail/conversions/from_json.hpp
+1
-4
develop/detail/conversions/to_json.hpp
develop/detail/conversions/to_json.hpp
+1
-4
develop/detail/iterators/internal_iterator.hpp
develop/detail/iterators/internal_iterator.hpp
+1
-4
develop/detail/iterators/iter_impl.hpp
develop/detail/iterators/iter_impl.hpp
+1
-4
develop/detail/iterators/iteration_proxy.hpp
develop/detail/iterators/iteration_proxy.hpp
+1
-4
develop/detail/iterators/json_reverse_iterator.hpp
develop/detail/iterators/json_reverse_iterator.hpp
+1
-4
develop/detail/iterators/primitive_iterator.hpp
develop/detail/iterators/primitive_iterator.hpp
+1
-4
develop/detail/json_ref.hpp
develop/detail/json_ref.hpp
+1
-4
develop/detail/macro_scope.hpp
develop/detail/macro_scope.hpp
+1
-4
develop/detail/macro_unscope.hpp
develop/detail/macro_unscope.hpp
+1
-4
develop/detail/meta.hpp
develop/detail/meta.hpp
+1
-4
develop/detail/parsing/binary_reader.hpp
develop/detail/parsing/binary_reader.hpp
+1
-4
develop/detail/parsing/binary_writer.hpp
develop/detail/parsing/binary_writer.hpp
+1
-4
develop/detail/parsing/input_adapters.hpp
develop/detail/parsing/input_adapters.hpp
+1
-4
develop/detail/parsing/lexer.hpp
develop/detail/parsing/lexer.hpp
+1
-4
develop/detail/parsing/output_adapters.hpp
develop/detail/parsing/output_adapters.hpp
+1
-4
develop/detail/parsing/parser.hpp
develop/detail/parsing/parser.hpp
+1
-4
develop/detail/serializer.hpp
develop/detail/serializer.hpp
+1
-4
develop/detail/value_t.hpp
develop/detail/value_t.hpp
+1
-4
src/json.hpp
src/json.hpp
+38
-98
No files found.
develop/adl_serializer.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_ADL_SERIALIZER_HPP
#pragma once
#define NLOHMANN_JSON_ADL_SERIALIZER_HPP
#include <utility>
#include <utility>
...
@@ -44,5 +43,3 @@ struct adl_serializer
...
@@ -44,5 +43,3 @@ struct adl_serializer
}
}
};
};
}
}
#endif
develop/detail/conversions/from_json.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_DETAIL_CONVERSIONS_FROM_JSON_HPP
#pragma once
#define NLOHMANN_JSON_DETAIL_CONVERSIONS_FROM_JSON_HPP
#include <algorithm> // transform
#include <algorithm> // transform
#include <array> // array
#include <array> // array
...
@@ -314,5 +313,3 @@ namespace
...
@@ -314,5 +313,3 @@ namespace
constexpr
const
auto
&
from_json
=
detail
::
static_const
<
detail
::
from_json_fn
>::
value
;
constexpr
const
auto
&
from_json
=
detail
::
static_const
<
detail
::
from_json_fn
>::
value
;
}
}
}
}
#endif
develop/detail/conversions/to_json.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_DETAIL_CONVERSIONS_TO_JSON_HPP
#pragma once
#define NLOHMANN_JSON_DETAIL_CONVERSIONS_TO_JSON_HPP
#include <ciso646> // or, and, not
#include <ciso646> // or, and, not
#include <iterator> // begin, end
#include <iterator> // begin, end
...
@@ -337,5 +336,3 @@ namespace
...
@@ -337,5 +336,3 @@ namespace
constexpr
const
auto
&
to_json
=
detail
::
static_const
<
detail
::
to_json_fn
>::
value
;
constexpr
const
auto
&
to_json
=
detail
::
static_const
<
detail
::
to_json_fn
>::
value
;
}
}
}
}
#endif
develop/detail/iterators/internal_iterator.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_DETAIL_ITERATORS_INTERNAL_ITERATOR_HPP
#pragma once
#define NLOHMANN_JSON_DETAIL_ITERATORS_INTERNAL_ITERATOR_HPP
#include "detail/iterators/primitive_iterator.hpp"
#include "detail/iterators/primitive_iterator.hpp"
...
@@ -24,5 +23,3 @@ template<typename BasicJsonType> struct internal_iterator
...
@@ -24,5 +23,3 @@ template<typename BasicJsonType> struct internal_iterator
};
};
}
}
}
}
#endif
develop/detail/iterators/iter_impl.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_DETAIL_ITERATORS_ITER_IMPL_HPP
#pragma once
#define NLOHMANN_JSON_DETAIL_ITERATORS_ITER_IMPL_HPP
#include <ciso646> // not
#include <ciso646> // not
#include <iterator> // iterator, random_access_iterator_tag, bidirectional_iterator_tag, advance, next
#include <iterator> // iterator, random_access_iterator_tag, bidirectional_iterator_tag, advance, next
...
@@ -613,5 +612,3 @@ class iter_impl
...
@@ -613,5 +612,3 @@ class iter_impl
};
};
}
}
}
}
#endif
develop/detail/iterators/iteration_proxy.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_DETAIL_ITERATORS_ITERATION_PROXY_HPP
#pragma once
#define NLOHMANN_JSON_DETAIL_ITERATORS_ITERATION_PROXY_HPP
#include <cstddef> // size_t
#include <cstddef> // size_t
#include <string> // string, to_string
#include <string> // string, to_string
...
@@ -97,5 +96,3 @@ template<typename IteratorType> class iteration_proxy
...
@@ -97,5 +96,3 @@ template<typename IteratorType> class iteration_proxy
};
};
}
}
}
}
#endif
develop/detail/iterators/json_reverse_iterator.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_DETAIL_ITERATORS_JSON_REVERSE_ITERATOR_HPP
#pragma once
#define NLOHMANN_JSON_DETAIL_ITERATORS_JSON_REVERSE_ITERATOR_HPP
#include <cstddef> // ptrdiff_t
#include <cstddef> // ptrdiff_t
#include <iterator> // reverse_iterator
#include <iterator> // reverse_iterator
...
@@ -118,5 +117,3 @@ class json_reverse_iterator : public std::reverse_iterator<Base>
...
@@ -118,5 +117,3 @@ class json_reverse_iterator : public std::reverse_iterator<Base>
};
};
}
}
}
}
#endif
develop/detail/iterators/primitive_iterator.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_DETAIL_ITERATORS_PRIMITIVE_ITERATOR_HPP
#pragma once
#define NLOHMANN_JSON_DETAIL_ITERATORS_PRIMITIVE_ITERATOR_HPP
#include <ciso646> // not
#include <ciso646> // not
#include <cstddef> // ptrdiff_t
#include <cstddef> // ptrdiff_t
...
@@ -127,5 +126,3 @@ class primitive_iterator_t
...
@@ -127,5 +126,3 @@ class primitive_iterator_t
};
};
}
}
}
}
#endif
develop/detail/json_ref.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_DETAIL_JSON_REF_HPP
#pragma once
#define NLOHMANN_JSON_DETAIL_JSON_REF_HPP
#include <initializer_list>
#include <initializer_list>
#include <utility>
#include <utility>
...
@@ -62,5 +61,3 @@ class json_ref
...
@@ -62,5 +61,3 @@ class json_ref
};
};
}
}
}
}
#endif
develop/detail/macro_scope.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_MACRO_SCOPE_HPP
#pragma once
#define NLOHMANN_JSON_MACRO_SCOPE_HPP
#include <ciso646> // not
#include <ciso646> // not
...
@@ -102,5 +101,3 @@ contains a `mapped_type`, whereas `std::vector` fails the test.
...
@@ -102,5 +101,3 @@ contains a `mapped_type`, whereas `std::vector` fails the test.
static constexpr bool value = \
static constexpr bool value = \
std::is_integral<decltype(detect(std::declval<T>()))>::value; \
std::is_integral<decltype(detect(std::declval<T>()))>::value; \
}
}
#endif
develop/detail/macro_unscope.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_DETAIL_MACRO_UNSCOPE_HPP
#pragma once
#define NLOHMANN_JSON_DETAIL_MACRO_UNSCOPE_HPP
// restore GCC/clang diagnostic settings
// restore GCC/clang diagnostic settings
#if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__)
#if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__)
...
@@ -21,5 +20,3 @@
...
@@ -21,5 +20,3 @@
#undef NLOHMANN_BASIC_JSON_TPL_DECLARATION
#undef NLOHMANN_BASIC_JSON_TPL_DECLARATION
#undef NLOHMANN_BASIC_JSON_TPL
#undef NLOHMANN_BASIC_JSON_TPL
#undef NLOHMANN_JSON_HAS_HELPER
#undef NLOHMANN_JSON_HAS_HELPER
#endif
develop/detail/meta.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_DETAIL_META_HPP
#pragma once
#define NLOHMANN_JSON_DETAIL_META_HPP
#include <ciso646> // not
#include <ciso646> // not
#include <cstddef> // size_t
#include <cstddef> // size_t
...
@@ -233,5 +232,3 @@ template<typename T>
...
@@ -233,5 +232,3 @@ template<typename T>
constexpr
T
static_const
<
T
>::
value
;
constexpr
T
static_const
<
T
>::
value
;
}
}
}
}
#endif
develop/detail/parsing/binary_reader.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_DETAIL_PARSING_BINARY_READER_HPP
#pragma once
#define NLOHMANN_JSON_DETAIL_PARSING_BINARY_READER_HPP
#include <algorithm> // generate_n
#include <algorithm> // generate_n
#include <array> // array
#include <array> // array
...
@@ -1089,5 +1088,3 @@ class binary_reader
...
@@ -1089,5 +1088,3 @@ class binary_reader
};
};
}
}
}
}
#endif
develop/detail/parsing/binary_writer.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_DETAIL_PARSING_BINARY_WRITER_HPP
#pragma once
#define NLOHMANN_JSON_DETAIL_PARSING_BINARY_WRITER_HPP
#include <algorithm> // reverse
#include <algorithm> // reverse
#include <array> // array
#include <array> // array
...
@@ -554,5 +553,3 @@ class binary_writer
...
@@ -554,5 +553,3 @@ class binary_writer
};
};
}
}
}
}
#endif
develop/detail/parsing/input_adapters.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_DETAIL_PARSING_INPUT_ADAPTERS_HPP
#pragma once
#define NLOHMANN_JSON_DETAIL_PARSING_INPUT_ADAPTERS_HPP
#include <algorithm> // min
#include <algorithm> // min
#include <array> // array
#include <array> // array
...
@@ -261,5 +260,3 @@ class input_adapter
...
@@ -261,5 +260,3 @@ class input_adapter
};
};
}
}
}
}
#endif
develop/detail/parsing/lexer.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_DETAIL_PARSING_LEXER_HPP
#pragma once
#define NLOHMANN_JSON_DETAIL_PARSING_LEXER_HPP
#include <clocale> // localeconv
#include <clocale> // localeconv
#include <cstddef> // size_t
#include <cstddef> // size_t
...
@@ -1275,5 +1274,3 @@ scan_number_done:
...
@@ -1275,5 +1274,3 @@ scan_number_done:
};
};
}
}
}
}
#endif
develop/detail/parsing/output_adapters.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_DETAIL_PARSING_OUTPUT_ADAPTERS_HPP
#pragma once
#define NLOHMANN_JSON_DETAIL_PARSING_OUTPUT_ADAPTERS_HPP
#include <algorithm> // copy
#include <algorithm> // copy
#include <cstddef> // size_t
#include <cstddef> // size_t
...
@@ -112,5 +111,3 @@ class output_adapter
...
@@ -112,5 +111,3 @@ class output_adapter
};
};
}
}
}
}
#endif
develop/detail/parsing/parser.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_DETAIL_PARSING_PARSER_HPP
#pragma once
#define NLOHMANN_JSON_DETAIL_PARSING_PARSER_HPP
#include <cassert> // assert
#include <cassert> // assert
#include <cmath> // isfinite
#include <cmath> // isfinite
...
@@ -588,5 +587,3 @@ class parser
...
@@ -588,5 +587,3 @@ class parser
};
};
}
}
}
}
#endif
develop/detail/serializer.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_DETAIL_SERIALIZER_HPP
#pragma once
#define NLOHMANN_JSON_DETAIL_SERIALIZER_HPP
#include <algorithm> // reverse, remove, fill, find, none_of
#include <algorithm> // reverse, remove, fill, find, none_of
#include <array> // array
#include <array> // array
...
@@ -793,5 +792,3 @@ class serializer
...
@@ -793,5 +792,3 @@ class serializer
};
};
}
}
}
}
#endif
develop/detail/value_t.hpp
View file @
85173f56
#ifndef NLOHMANN_JSON_DETAIL_VALUE_T_HPP
#pragma once
#define NLOHMANN_JSON_DETAIL_VALUE_T_HPP
#include <array> // array
#include <array> // array
#include <ciso646> // and
#include <ciso646> // and
...
@@ -75,5 +74,3 @@ inline bool operator<(const value_t lhs, const value_t rhs) noexcept
...
@@ -75,5 +74,3 @@ inline bool operator<(const value_t lhs, const value_t rhs) noexcept
}
}
}
}
}
}
#endif
src/json.hpp
View file @
85173f56
...
@@ -107,8 +107,7 @@ using json = basic_json<>;
...
@@ -107,8 +107,7 @@ using json = basic_json<>;
#endif
#endif
// #include "detail/macro_scope.hpp"
// #include "detail/macro_scope.hpp"
#ifndef NLOHMANN_JSON_MACRO_SCOPE_HPP
#define NLOHMANN_JSON_MACRO_SCOPE_HPP
#include <ciso646> // not
#include <ciso646> // not
...
@@ -212,11 +211,8 @@ contains a `mapped_type`, whereas `std::vector` fails the test.
...
@@ -212,11 +211,8 @@ contains a `mapped_type`, whereas `std::vector` fails the test.
std::is_integral<decltype(detect(std::declval<T>()))>::value; \
std::is_integral<decltype(detect(std::declval<T>()))>::value; \
}
}
#endif
// #include "detail/meta.hpp"
// #include "detail/meta.hpp"
#ifndef NLOHMANN_JSON_DETAIL_META_HPP
#define NLOHMANN_JSON_DETAIL_META_HPP
#include <ciso646> // not
#include <ciso646> // not
#include <cstddef> // size_t
#include <cstddef> // size_t
...
@@ -453,8 +449,6 @@ constexpr T static_const<T>::value;
...
@@ -453,8 +449,6 @@ constexpr T static_const<T>::value;
}
}
}
}
#endif
// #include "detail/exceptions.hpp"
// #include "detail/exceptions.hpp"
#ifndef NLOHMANN_JSON_DETAIL_EXCEPTIONS_HPP
#ifndef NLOHMANN_JSON_DETAIL_EXCEPTIONS_HPP
#define NLOHMANN_JSON_DETAIL_EXCEPTIONS_HPP
#define NLOHMANN_JSON_DETAIL_EXCEPTIONS_HPP
...
@@ -789,8 +783,7 @@ class other_error : public exception
...
@@ -789,8 +783,7 @@ class other_error : public exception
#endif
#endif
// #include "detail/value_t.hpp"
// #include "detail/value_t.hpp"
#ifndef NLOHMANN_JSON_DETAIL_VALUE_T_HPP
#define NLOHMANN_JSON_DETAIL_VALUE_T_HPP
#include <array> // array
#include <array> // array
#include <ciso646> // and
#include <ciso646> // and
...
@@ -867,11 +860,8 @@ inline bool operator<(const value_t lhs, const value_t rhs) noexcept
...
@@ -867,11 +860,8 @@ inline bool operator<(const value_t lhs, const value_t rhs) noexcept
}
}
}
}
#endif
// #include "detail/conversions/from_json.hpp"
// #include "detail/conversions/from_json.hpp"
#ifndef NLOHMANN_JSON_DETAIL_CONVERSIONS_FROM_JSON_HPP
#define NLOHMANN_JSON_DETAIL_CONVERSIONS_FROM_JSON_HPP
#include <algorithm> // transform
#include <algorithm> // transform
#include <array> // array
#include <array> // array
...
@@ -1191,11 +1181,8 @@ constexpr const auto& from_json = detail::static_const<detail::from_json_fn>::va
...
@@ -1191,11 +1181,8 @@ constexpr const auto& from_json = detail::static_const<detail::from_json_fn>::va
}
}
}
}
#endif
// #include "detail/conversions/to_json.hpp"
// #include "detail/conversions/to_json.hpp"
#ifndef NLOHMANN_JSON_DETAIL_CONVERSIONS_TO_JSON_HPP
#define NLOHMANN_JSON_DETAIL_CONVERSIONS_TO_JSON_HPP
#include <ciso646> // or, and, not
#include <ciso646> // or, and, not
#include <iterator> // begin, end
#include <iterator> // begin, end
...
@@ -1536,11 +1523,8 @@ constexpr const auto& to_json = detail::static_const<detail::to_json_fn>::value;
...
@@ -1536,11 +1523,8 @@ constexpr const auto& to_json = detail::static_const<detail::to_json_fn>::value;
}
}
}
}
#endif
// #include "detail/parsing/input_adapters.hpp"
// #include "detail/parsing/input_adapters.hpp"
#ifndef NLOHMANN_JSON_DETAIL_PARSING_INPUT_ADAPTERS_HPP
#define NLOHMANN_JSON_DETAIL_PARSING_INPUT_ADAPTERS_HPP
#include <algorithm> // min
#include <algorithm> // min
#include <array> // array
#include <array> // array
...
@@ -1804,11 +1788,8 @@ class input_adapter
...
@@ -1804,11 +1788,8 @@ class input_adapter
}
}
}
}
#endif
// #include "detail/parsing/lexer.hpp"
// #include "detail/parsing/lexer.hpp"
#ifndef NLOHMANN_JSON_DETAIL_PARSING_LEXER_HPP
#define NLOHMANN_JSON_DETAIL_PARSING_LEXER_HPP
#include <clocale> // localeconv
#include <clocale> // localeconv
#include <cstddef> // size_t
#include <cstddef> // size_t
...
@@ -3087,11 +3068,8 @@ scan_number_done:
...
@@ -3087,11 +3068,8 @@ scan_number_done:
}
}
}
}
#endif
// #include "detail/parsing/parser.hpp"
// #include "detail/parsing/parser.hpp"
#ifndef NLOHMANN_JSON_DETAIL_PARSING_PARSER_HPP
#define NLOHMANN_JSON_DETAIL_PARSING_PARSER_HPP
#include <cassert> // assert
#include <cassert> // assert
#include <cmath> // isfinite
#include <cmath> // isfinite
...
@@ -3686,11 +3664,8 @@ class parser
...
@@ -3686,11 +3664,8 @@ class parser
}
}
}
}
#endif
// #include "detail/iterators/primitive_iterator.hpp"
// #include "detail/iterators/primitive_iterator.hpp"
#ifndef NLOHMANN_JSON_DETAIL_ITERATORS_PRIMITIVE_ITERATOR_HPP
#define NLOHMANN_JSON_DETAIL_ITERATORS_PRIMITIVE_ITERATOR_HPP
#include <ciso646> // not
#include <ciso646> // not
#include <cstddef> // ptrdiff_t
#include <cstddef> // ptrdiff_t
...
@@ -3819,11 +3794,8 @@ class primitive_iterator_t
...
@@ -3819,11 +3794,8 @@ class primitive_iterator_t
}
}
}
}
#endif
// #include "detail/iterators/internal_iterator.hpp"
// #include "detail/iterators/internal_iterator.hpp"
#ifndef NLOHMANN_JSON_DETAIL_ITERATORS_INTERNAL_ITERATOR_HPP
#define NLOHMANN_JSON_DETAIL_ITERATORS_INTERNAL_ITERATOR_HPP
// #include "detail/iterators/primitive_iterator.hpp"
// #include "detail/iterators/primitive_iterator.hpp"
...
@@ -3850,11 +3822,8 @@ template<typename BasicJsonType> struct internal_iterator
...
@@ -3850,11 +3822,8 @@ template<typename BasicJsonType> struct internal_iterator
}
}
}
}
#endif
// #include "detail/iterators/iter_impl.hpp"
// #include "detail/iterators/iter_impl.hpp"
#ifndef NLOHMANN_JSON_DETAIL_ITERATORS_ITER_IMPL_HPP
#define NLOHMANN_JSON_DETAIL_ITERATORS_ITER_IMPL_HPP
#include <ciso646> // not
#include <ciso646> // not
#include <iterator> // iterator, random_access_iterator_tag, bidirectional_iterator_tag, advance, next
#include <iterator> // iterator, random_access_iterator_tag, bidirectional_iterator_tag, advance, next
...
@@ -4475,11 +4444,8 @@ class iter_impl
...
@@ -4475,11 +4444,8 @@ class iter_impl
}
}
}
}
#endif
// #include "detail/iterators/iteration_proxy.hpp"
// #include "detail/iterators/iteration_proxy.hpp"
#ifndef NLOHMANN_JSON_DETAIL_ITERATORS_ITERATION_PROXY_HPP
#define NLOHMANN_JSON_DETAIL_ITERATORS_ITERATION_PROXY_HPP
#include <cstddef> // size_t
#include <cstddef> // size_t
#include <string> // string, to_string
#include <string> // string, to_string
...
@@ -4579,11 +4545,8 @@ template<typename IteratorType> class iteration_proxy
...
@@ -4579,11 +4545,8 @@ template<typename IteratorType> class iteration_proxy
}
}
}
}
#endif
// #include "detail/iterators/json_reverse_iterator.hpp"
// #include "detail/iterators/json_reverse_iterator.hpp"
#ifndef NLOHMANN_JSON_DETAIL_ITERATORS_JSON_REVERSE_ITERATOR_HPP
#define NLOHMANN_JSON_DETAIL_ITERATORS_JSON_REVERSE_ITERATOR_HPP
#include <cstddef> // ptrdiff_t
#include <cstddef> // ptrdiff_t
#include <iterator> // reverse_iterator
#include <iterator> // reverse_iterator
...
@@ -4703,11 +4666,8 @@ class json_reverse_iterator : public std::reverse_iterator<Base>
...
@@ -4703,11 +4666,8 @@ class json_reverse_iterator : public std::reverse_iterator<Base>
}
}
}
}
#endif
// #include "detail/parsing/output_adapters.hpp"
// #include "detail/parsing/output_adapters.hpp"
#ifndef NLOHMANN_JSON_DETAIL_PARSING_OUTPUT_ADAPTERS_HPP
#define NLOHMANN_JSON_DETAIL_PARSING_OUTPUT_ADAPTERS_HPP
#include <algorithm> // copy
#include <algorithm> // copy
#include <cstddef> // size_t
#include <cstddef> // size_t
...
@@ -4821,11 +4781,8 @@ class output_adapter
...
@@ -4821,11 +4781,8 @@ class output_adapter
}
}
}
}
#endif
// #include "detail/parsing/binary_reader.hpp"
// #include "detail/parsing/binary_reader.hpp"
#ifndef NLOHMANN_JSON_DETAIL_PARSING_BINARY_READER_HPP
#define NLOHMANN_JSON_DETAIL_PARSING_BINARY_READER_HPP
#include <algorithm> // generate_n
#include <algorithm> // generate_n
#include <array> // array
#include <array> // array
...
@@ -5920,11 +5877,8 @@ class binary_reader
...
@@ -5920,11 +5877,8 @@ class binary_reader
}
}
}
}
#endif
// #include "detail/parsing/binary_writer.hpp"
// #include "detail/parsing/binary_writer.hpp"
#ifndef NLOHMANN_JSON_DETAIL_PARSING_BINARY_WRITER_HPP
#define NLOHMANN_JSON_DETAIL_PARSING_BINARY_WRITER_HPP
#include <algorithm> // reverse
#include <algorithm> // reverse
#include <array> // array
#include <array> // array
...
@@ -6482,11 +6436,8 @@ class binary_writer
...
@@ -6482,11 +6436,8 @@ class binary_writer
}
}
}
}
#endif
// #include "detail/serializer.hpp"
// #include "detail/serializer.hpp"
#ifndef NLOHMANN_JSON_DETAIL_SERIALIZER_HPP
#define NLOHMANN_JSON_DETAIL_SERIALIZER_HPP
#include <algorithm> // reverse, remove, fill, find, none_of
#include <algorithm> // reverse, remove, fill, find, none_of
#include <array> // array
#include <array> // array
...
@@ -7285,11 +7236,8 @@ class serializer
...
@@ -7285,11 +7236,8 @@ class serializer
}
}
}
}
#endif
// #include "detail/json_ref.hpp"
// #include "detail/json_ref.hpp"
#ifndef NLOHMANN_JSON_DETAIL_JSON_REF_HPP
#define NLOHMANN_JSON_DETAIL_JSON_REF_HPP
#include <initializer_list>
#include <initializer_list>
#include <utility>
#include <utility>
...
@@ -7353,11 +7301,8 @@ class json_ref
...
@@ -7353,11 +7301,8 @@ class json_ref
}
}
}
}
#endif
// #include "adl_serializer.hpp"
// #include "adl_serializer.hpp"
#ifndef NLOHMANN_JSON_ADL_SERIALIZER_HPP
#define NLOHMANN_JSON_ADL_SERIALIZER_HPP
#include <utility>
#include <utility>
...
@@ -7405,8 +7350,6 @@ struct adl_serializer
...
@@ -7405,8 +7350,6 @@ struct adl_serializer
};
};
}
}
#endif
/*!
/*!
@brief namespace for Niels Lohmann
@brief namespace for Niels Lohmann
...
@@ -15365,31 +15308,28 @@ inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std
...
@@ -15365,31 +15308,28 @@ inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std
}
}
// #include "detail/macro_unscope.hpp"
// #include "detail/macro_unscope.hpp"
#ifndef NLOHMANN_JSON_DETAIL_MACRO_UNSCOPE_HPP
#define NLOHMANN_JSON_DETAIL_MACRO_UNSCOPE_HPP
// restore GCC/clang diagnostic settings
#if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__)
#pragma GCC diagnostic pop
#endif
#if defined(__clang__)
#pragma GCC diagnostic pop
#endif
// clean up
#undef JSON_CATCH
#undef JSON_THROW
#undef JSON_TRY
#undef JSON_LIKELY
#undef JSON_UNLIKELY
#undef JSON_DEPRECATED
#undef JSON_HAS_CPP_14
#undef JSON_HAS_CPP_17
#undef NLOHMANN_BASIC_JSON_TPL_DECLARATION
#undef NLOHMANN_BASIC_JSON_TPL
#undef NLOHMANN_JSON_HAS_HELPER
// restore GCC/clang diagnostic settings
#if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__)
#pragma GCC diagnostic pop
#endif
#if defined(__clang__)
#pragma GCC diagnostic pop
#endif
#endif
// clean up
#undef JSON_CATCH
#undef JSON_THROW
#undef JSON_TRY
#undef JSON_LIKELY
#undef JSON_UNLIKELY
#undef JSON_DEPRECATED
#undef JSON_HAS_CPP_14
#undef JSON_HAS_CPP_17
#undef NLOHMANN_BASIC_JSON_TPL_DECLARATION
#undef NLOHMANN_BASIC_JSON_TPL
#undef NLOHMANN_JSON_HAS_HELPER
#endif
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment