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 e1b1a7b commit f6b45ea
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 12 deletions.
1 change: 1 addition & 0 deletions include/jsoncons/basic_json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include <jsoncons/json_type_traits.hpp>
#include <jsoncons/pretty_print.hpp>
#include <jsoncons/ser_context.hpp>
#include <jsoncons/source.hpp>
#include <jsoncons/tag_type.hpp>
#include <jsoncons/utility/bigint.hpp>
#include <jsoncons/utility/heap_string.hpp>
Expand Down
2 changes: 2 additions & 0 deletions include/jsoncons/decode_json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/allocator_set.hpp>
#include <jsoncons/conv_error.hpp>
#include <jsoncons/decode_traits.hpp>
#include <jsoncons/json_cursor.hpp>
#include <jsoncons/basic_json.hpp>
#include <jsoncons/source.hpp>

namespace jsoncons {

Expand Down
1 change: 1 addition & 0 deletions include/jsoncons/json_cursor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/byte_string.hpp>
#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/conv_error.hpp>
#include <jsoncons/json_exception.hpp>
#include <jsoncons/json_parser.hpp>
#include <jsoncons/json_visitor.hpp>
Expand Down
1 change: 1 addition & 0 deletions include/jsoncons/staj_event.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <type_traits> // std::enable_if

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/conv_error.hpp>
#include <jsoncons/detail/write_number.hpp>
#include <jsoncons/item_event_visitor.hpp>
#include <jsoncons/json_exception.hpp>
Expand Down
1 change: 1 addition & 0 deletions include/jsoncons/staj_event_reader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <memory> // std::allocator
#include <system_error>

#include <jsoncons/conv_error.hpp>
#include <jsoncons/detail/write_number.hpp>
#include <jsoncons/item_event_visitor.hpp>
#include <jsoncons/json_parser.hpp>
Expand Down
1 change: 0 additions & 1 deletion include/jsoncons_ext/bson/bson_encoder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/detail/parse_number.hpp>
#include <jsoncons/byte_string.hpp>
#include <jsoncons/json_visitor.hpp>
#include <jsoncons/ser_context.hpp>
Expand Down
2 changes: 0 additions & 2 deletions include/jsoncons_ext/bson/bson_oid.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <ctype.h>
#include <system_error>
#include <type_traits>

#include <jsoncons/config/jsoncons_config.hpp>
Expand Down
2 changes: 0 additions & 2 deletions include/jsoncons_ext/bson/bson_type.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

#include <cstdint>

#include <jsoncons/config/jsoncons_config.hpp>

namespace jsoncons { namespace bson {

namespace bson_type
Expand Down
2 changes: 2 additions & 0 deletions include/jsoncons_ext/bson/decode_bson.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/utility/extension_traits.hpp>
#include <jsoncons/basic_json.hpp>
#include <jsoncons/conv_error.hpp>
#include <jsoncons/json_decoder.hpp>
#include <jsoncons/decode_traits.hpp>
#include <jsoncons/source.hpp>

#include <jsoncons_ext/bson/bson_cursor.hpp>
#include <jsoncons_ext/bson/bson_options.hpp>
Expand Down
2 changes: 2 additions & 0 deletions include/jsoncons_ext/cbor/decode_cbor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
#include <jsoncons/allocator_set.hpp>
#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/conv_error.hpp>
#include <jsoncons/decode_traits.hpp>
#include <jsoncons/json_filter.hpp>
#include <jsoncons/basic_json.hpp>
#include <jsoncons/source.hpp>

#include <jsoncons_ext/cbor/cbor_cursor.hpp>
#include <jsoncons_ext/cbor/cbor_reader.hpp>
Expand Down
1 change: 1 addition & 0 deletions include/jsoncons_ext/csv/decode_csv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/basic_json.hpp>
#include <jsoncons/decode_traits.hpp>
#include <jsoncons/source.hpp>

#include <jsoncons_ext/csv/csv_cursor.hpp>
#include <jsoncons_ext/csv/csv_encoder.hpp>
Expand Down
1 change: 0 additions & 1 deletion include/jsoncons_ext/jsonpatch/jsonpatch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <cstddef>
#include <string>
#include <system_error>
#include <type_traits>
#include <utility> // std::move
#include <vector>

Expand Down
2 changes: 0 additions & 2 deletions include/jsoncons_ext/jsonpath/expression.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@
#include <exception>
#include <functional>
#include <memory>
#include <set> // std::set
#include <string> // std::basic_string
#include <system_error>
#include <type_traits>
#include <unordered_map> // std::unordered_map
#include <unordered_set> // std::unordered_set
#include <utility> // std::move
#include <vector> // std::vector

Expand Down
3 changes: 0 additions & 3 deletions include/jsoncons_ext/jsonpath/jsonpath_expression.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <algorithm> // std::reverse
#include <cstddef>
#include <memory>
#include <string>
#include <system_error>
#include <type_traits> // std::is_const
#include <utility> // std::move
Expand All @@ -23,10 +22,8 @@

#include <jsoncons_ext/jsonpath/expression.hpp>
#include <jsoncons_ext/jsonpath/json_location.hpp>
#include <jsoncons_ext/jsonpath/jsonpath_error.hpp>
#include <jsoncons_ext/jsonpath/jsonpath_parser.hpp>
#include <jsoncons_ext/jsonpath/path_node.hpp>
#include <jsoncons_ext/jsonpath/jsonpath_selector.hpp>

namespace jsoncons {
namespace jsonpath {
Expand Down
1 change: 0 additions & 1 deletion include/jsoncons_ext/jsonpath/path_node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/detail/write_number.hpp>
#include <jsoncons/json_type.hpp>
#include <jsoncons_ext/jsonpath/jsonpath_error.hpp>
#include <jsoncons_ext/jsonpath/jsonpath_utilities.hpp>

namespace jsoncons {
Expand Down
2 changes: 2 additions & 0 deletions include/jsoncons_ext/jsonschema/common/keyword_validators.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@
#include <string>
#include <system_error>
#include <unordered_set>
#include <utility>
#include <vector>

#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/byte_string.hpp>
#include <jsoncons/conv_error.hpp>
#include <jsoncons/json_reader.hpp>
#include <jsoncons/tag_type.hpp>
#include <jsoncons/utility/unicode_traits.hpp>
Expand Down
2 changes: 2 additions & 0 deletions include/jsoncons_ext/msgpack/decode_msgpack.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/basic_json.hpp>
#include <jsoncons/conv_error.hpp>
#include <jsoncons/decode_traits.hpp>
#include <jsoncons/source.hpp>

#include <jsoncons_ext/msgpack/msgpack_cursor.hpp>
#include <jsoncons_ext/msgpack/msgpack_encoder.hpp>
Expand Down
3 changes: 3 additions & 0 deletions include/jsoncons_ext/ubjson/decode_ubjson.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/config/jsoncons_config.hpp>
#include <jsoncons/basic_json.hpp>
#include <jsoncons/conv_error.hpp>
#include <jsoncons/decode_traits.hpp>
#include <jsoncons/json_decoder.hpp>
#include <jsoncons/source.hpp>

#include <jsoncons_ext/ubjson/ubjson_cursor.hpp>
#include <jsoncons_ext/ubjson/ubjson_reader.hpp>
Expand Down

0 comments on commit f6b45ea

Please sign in to comment.