Skip to content

Commit

Permalink
tidy includes
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed Jan 7, 2025
1 parent 384cb72 commit 0faf2ae
Show file tree
Hide file tree
Showing 30 changed files with 22 additions and 15 deletions.
1 change: 1 addition & 0 deletions include/jsoncons/byte_string.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <utility> // std::move
#include <vector>

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/conv_error.hpp>
#include <jsoncons/utility/extension_traits.hpp>
Expand Down
1 change: 1 addition & 0 deletions include/jsoncons/decode_json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <istream> // std::basic_istream
#include <tuple>

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/allocator_set.hpp>
#include <jsoncons/decode_traits.hpp>
#include <jsoncons/json_cursor.hpp>
Expand Down
1 change: 1 addition & 0 deletions include/jsoncons/decode_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <jsoncons/json_type_traits.hpp>
#include <jsoncons/json_visitor.hpp>
#include <jsoncons/ser_context.hpp>
#include <jsoncons/staj_event.hpp>
#include <jsoncons/staj_cursor.hpp>
#include <jsoncons/tag_type.hpp>

Expand Down
1 change: 1 addition & 0 deletions include/jsoncons/detail/parse_number.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <type_traits> // std::enable_if
#include <vector>

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/json_exception.hpp>
#include <jsoncons/utility/extension_traits.hpp>
Expand Down
1 change: 0 additions & 1 deletion include/jsoncons/detail/string_view.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <algorithm> // std::find, std::min, std::reverse
#include <cmath>
#include <cstddef>
#include <istream> // std::basic_istream
#include <iterator>
#include <ostream>
#include <stdexcept>
Expand Down
1 change: 1 addition & 0 deletions include/jsoncons/detail/write_number.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <string>
#include <type_traits>

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/detail/grisu3.hpp>
#include <jsoncons/detail/parse_number.hpp>
Expand Down
1 change: 0 additions & 1 deletion include/jsoncons/encode_json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define JSONCONS_ENCODE_JSON_HPP

#include <iostream>
#include <istream> // std::basic_istream
#include <system_error>
#include <tuple>

Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons/json_cursor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
#include <cstddef>
#include <functional>
#include <ios>
#include <istream> // std::basic_istream
#include <memory> // std::allocator
#include <system_error>

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/byte_string.hpp>
#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/json_exception.hpp>
Expand Down
1 change: 1 addition & 0 deletions include/jsoncons/json_filter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <string>
#include <system_error>

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/byte_string.hpp>
#include <jsoncons/json_exception.hpp>
#include <jsoncons/json_visitor.hpp>
Expand Down
1 change: 1 addition & 0 deletions include/jsoncons/json_object.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <utility> // std::move
#include <vector>

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/allocator_holder.hpp>
#include <jsoncons/json_array.hpp>
#include <jsoncons/json_exception.hpp>
Expand Down
2 changes: 2 additions & 0 deletions include/jsoncons/json_type_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include <valarray>
#include <vector>

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/byte_string.hpp>
#include <jsoncons/conv_error.hpp>
#include <jsoncons/json_type.hpp>
Expand Down
1 change: 1 addition & 0 deletions include/jsoncons/staj_iterator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <jsoncons/basic_json.hpp>
#include <jsoncons/decode_traits.hpp>
#include <jsoncons/json_exception.hpp>
#include <jsoncons/staj_event.hpp>
#include <jsoncons/staj_cursor.hpp>

namespace jsoncons {
Expand Down
1 change: 1 addition & 0 deletions include/jsoncons/utility/uri.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <type_traits>
#include <utility>

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/detail/parse_number.hpp>
#include <jsoncons/detail/write_number.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons_ext/bson/bson_cursor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <cstddef>
#include <functional>
#include <ios>
#include <istream> // std::basic_istream
#include <memory> // std::allocator
#include <system_error>

Expand All @@ -20,6 +19,7 @@
#include <jsoncons/json_visitor.hpp>
#include <jsoncons/ser_context.hpp>
#include <jsoncons/source.hpp>
#include <jsoncons/staj_event.hpp>
#include <jsoncons/staj_cursor.hpp>
#include <jsoncons_ext/bson/bson_parser.hpp>

Expand Down
1 change: 0 additions & 1 deletion include/jsoncons_ext/bson/encode_bson.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#ifndef JSONCONS_EXT_BSON_ENCODE_BSON_HPP
#define JSONCONS_EXT_BSON_ENCODE_BSON_HPP

#include <istream> // std::basic_istream
#include <ostream> // std::basic_ostream
#include <type_traits> // std::enable_if

Expand Down
1 change: 0 additions & 1 deletion include/jsoncons_ext/cbor/cbor_cursor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <cstddef>
#include <functional>
#include <ios>
#include <istream> // std::basic_istream
#include <memory> // std::allocator
#include <system_error>

Expand Down
1 change: 0 additions & 1 deletion include/jsoncons_ext/cbor/cbor_event_reader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <cstddef>
#include <functional>
#include <ios>
#include <istream> // std::basic_istream
#include <memory> // std::allocator
#include <system_error>

Expand Down
1 change: 0 additions & 1 deletion include/jsoncons_ext/cbor/encode_cbor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#ifndef JSONCONS_EXT_CBOR_ENCODE_CBOR_HPP
#define JSONCONS_EXT_CBOR_ENCODE_CBOR_HPP

#include <istream> // std::basic_istream
#include <ostream> // std::basic_ostream
#include <type_traits> // std::enable_if

Expand Down
1 change: 0 additions & 1 deletion include/jsoncons_ext/csv/csv_cursor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <cstddef>
#include <functional>
#include <ios>
#include <istream> // std::basic_istream
#include <memory> // std::allocator
#include <system_error>

Expand Down
1 change: 1 addition & 0 deletions include/jsoncons_ext/csv/csv_parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <jsoncons/json_reader.hpp>
#include <jsoncons/json_visitor.hpp>
#include <jsoncons/ser_context.hpp>
#include <jsoncons/staj_event.hpp>
#include <jsoncons/tag_type.hpp>

#include <jsoncons_ext/csv/csv_error.hpp>
Expand Down
1 change: 0 additions & 1 deletion include/jsoncons_ext/csv/csv_reader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <cstddef>
#include <functional>
#include <istream> // std::basic_istream
#include <memory> // std::allocator
#include <system_error>
#include <utility> // std::move
Expand Down
2 changes: 2 additions & 0 deletions include/jsoncons_ext/jmespath/jmespath.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#include <vector>

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/json_type.hpp>
#include <jsoncons/tag_type.hpp>
#include <jsoncons/utility/unicode_traits.hpp>

#include <jsoncons_ext/jmespath/jmespath_error.hpp>
Expand Down
2 changes: 2 additions & 0 deletions include/jsoncons_ext/jsonpath/flatten.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/detail/parse_number.hpp>
#include <jsoncons/detail/write_number.hpp>
#include <jsoncons/json_type.hpp>
#include <jsoncons/tag_type.hpp>

#include <jsoncons_ext/jsonpath/jsonpath_error.hpp>
#include <jsoncons_ext/jsonpath/jsonpath_utilities.hpp>
Expand Down
2 changes: 2 additions & 0 deletions include/jsoncons_ext/jsonpointer/jsonpointer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#include <vector>

#include <jsoncons/detail/write_number.hpp>
#include <jsoncons/json_type.hpp>
#include <jsoncons/tag_type.hpp>
#include <jsoncons/utility/extension_traits.hpp>

#include <jsoncons_ext/jsonpointer/jsonpointer_error.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <vector>

#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/tag_type.hpp>
#include <jsoncons/utility/unicode_traits.hpp>
#include <jsoncons/utility/uri.hpp>

Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons_ext/msgpack/encode_msgpack.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
#ifndef JSONCONS_EXT_MSGPACK_ENCODE_MSGPACK_HPP
#define JSONCONS_EXT_MSGPACK_ENCODE_MSGPACK_HPP

#include <istream> // std::basic_istream
#include <ostream> // std::basic_ostream

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/basic_json.hpp>

#include <jsoncons_ext/msgpack/msgpack_encoder.hpp>
#include <jsoncons_ext/msgpack/msgpack_reader.hpp>
Expand Down
1 change: 0 additions & 1 deletion include/jsoncons_ext/msgpack/msgpack_cursor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <cstddef>
#include <functional>
#include <ios>
#include <istream> // std::basic_istream
#include <memory> // std::allocator
#include <system_error>

Expand Down
1 change: 0 additions & 1 deletion include/jsoncons_ext/msgpack/msgpack_event_reader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <cstddef>
#include <functional>
#include <ios>
#include <istream> // std::basic_istream
#include <memory> // std::allocator
#include <system_error>

Expand Down
1 change: 0 additions & 1 deletion include/jsoncons_ext/ubjson/encode_ubjson.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#ifndef JSONCONS_EXT_UBJSON_ENCODE_UBJSON_HPP
#define JSONCONS_EXT_UBJSON_ENCODE_UBJSON_HPP

#include <istream> // std::basic_istream
#include <ostream> // std::basic_ostream
#include <type_traits> // std::enable_if

Expand Down
1 change: 0 additions & 1 deletion include/jsoncons_ext/ubjson/ubjson_cursor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <cstddef>
#include <functional>
#include <ios>
#include <istream> // std::basic_istream
#include <memory> // std::allocator
#include <stdexcept>
#include <system_error>
Expand Down

0 comments on commit 0faf2ae

Please sign in to comment.