Skip to content

Commit

Permalink
move byte_string.hpp to utility
Browse files Browse the repository at this point in the history
  • Loading branch information
danielaparker committed Jan 9, 2025
1 parent aab6487 commit 4e1a283
Show file tree
Hide file tree
Showing 330 changed files with 361 additions and 361 deletions.
2 changes: 1 addition & 1 deletion doc/ref/corelib/byte_string.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### jsoncons::byte_string

```cpp
#include <jsoncons/byte_string.hpp>
#include <jsoncons/utility/byte_string.hpp>

typedef basic_byte_string<Allocator = std::allocator<uint8_t>> byte_string;
```
Expand Down
2 changes: 1 addition & 1 deletion doc/ref/corelib/byte_string_view.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### jsoncons::byte_string_view

```cpp
#include <jsoncons/byte_string.hpp>
#include <jsoncons/utility/byte_string.hpp>

class byte_string_view;
```
Expand Down
2 changes: 1 addition & 1 deletion examples/src/array_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <string>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/bson_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/bson/bson.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/byte_string_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons/json.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/cbor_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/cbor/cbor.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/cbor_typed_array_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/cbor/cbor.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/container_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <string>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/csv_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/csv/csv.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/data_model_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/cbor/cbor.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/jsonpointer/jsonpointer.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/free_list_allocator.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#ifndef FREE_LIST_ALLOCATOR_HPP
Expand Down
2 changes: 1 addition & 1 deletion examples/src/jmespath_custom_function_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/jmespath/jmespath.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/jmespath_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/jmespath/jmespath.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/json_accessor_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <stdexcept>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/json_constructor_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/jsonpointer/jsonpointer.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/json_cursor_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons/json_cursor.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/json_filter_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <string>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/json_merge_patch_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/mergepatch/mergepatch.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/json_parse_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons/json.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/json_parser_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons/json.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/json_reader_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <stdexcept>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/json_traits_bitset_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/cbor/cbor.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/json_traits_integer_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/csv/csv.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/json_traits_macros_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <cassert>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/json_traits_name_macro_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <cassert>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/json_traits_polymorphic_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <cassert>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/json_traits_tuple_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/csv/csv.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/json_traits_variant_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <cassert>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/jsonpatch_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/jsonpatch/jsonpatch.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/jsonpath_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/jsonpath/jsonpath.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/jsonpath_location_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/jsonpath/jsonpath.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/jsonpointer_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/jsonpointer/jsonpointer.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/jsonschema_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/jsonpatch/jsonpatch.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/msgpack_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/msgpack/msgpack.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/ojson_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <string>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/readme_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/cbor/cbor.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/staj_iterator_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons/json.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/type_extensibility_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include "sample_types.hpp"
Expand Down
2 changes: 1 addition & 1 deletion examples/src/ubjson_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/ubjson/ubjson.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/unicode_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <string>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/update_json_in_place_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons/json.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples/src/wjson_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <string>
Expand Down
2 changes: 1 addition & 1 deletion examples_boost/extensibility.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <jsoncons_ext/csv/csv.hpp>
Expand Down
2 changes: 1 addition & 1 deletion examples_boost/more_examples.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <iostream>
Expand Down
2 changes: 1 addition & 1 deletion examples_boost/pool_allocator.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under Boost license

#include <boost/pool/pool_alloc.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons/allocator_holder.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons/allocator_set.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Expand Down
4 changes: 2 additions & 2 deletions include/jsoncons/basic_json.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Expand All @@ -25,7 +25,7 @@
#include <vector>

#include <jsoncons/allocator_set.hpp>
#include <jsoncons/byte_string.hpp>
#include <jsoncons/utility/byte_string.hpp>
#include <jsoncons/config/compiler_support.hpp>
#include <jsoncons/config/version.hpp>
#include <jsoncons/json_array.hpp>
Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons/config/compiler_support.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons/config/jsoncons_config.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons/config/version.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons/conv_error.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// Copyright 2013-2024 Daniel Parker
/// Copyright 2013-2025 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons/decode_json.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons/decode_traits.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons/detail/endian.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons/detail/optional.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons/detail/parse_number.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons/detail/span.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons/detail/string_view.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons/detail/write_number.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons/encode_json.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Expand Down
2 changes: 1 addition & 1 deletion include/jsoncons/encode_traits.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2013-2024 Daniel Parker
// Copyright 2013-2025 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Expand Down
Loading

0 comments on commit 4e1a283

Please sign in to comment.