2
0
mirror of https://github.com/boostorg/json.git synced 2026-02-13 00:22:21 +00:00
Commit Graph

397 Commits

Author SHA1 Message Date
Gudmundur F. Adalsteinsson
503eab84d5 object::stable_erase 2022-08-29 16:43:12 +00:00
Dmitry Arkhipov
2cbc263ced array self-swap 2022-08-28 13:35:03 +03:00
Dmitry Arkhipov
aaefd66bb1 string self-swap and self-move 2022-08-28 09:08:18 +03:00
Dmitry Arkhipov
b8d831b373 better showcase value::to_number 2022-07-26 13:52:40 +03:00
Dmitry Arkhipov
9e3ac1e873 remove remnants of old conversion approach in docs 2022-07-26 13:52:40 +03:00
Dmitry Arkhipov
75367a814e fix handling of comment after trailing comma 2022-06-30 18:01:14 +03:00
Dmitry Arkhipov
cc019f753b make basic_parser tests informative in CI 2022-06-10 20:08:05 +03:00
Dmitry Arkhipov
c6d46a45e7 utf8 tests 2022-06-10 20:03:47 +03:00
Vinnie Falco
81664c693a better subview
fix #708
2022-05-27 21:41:14 +03:00
Dmitry Arkhipov
95a6297480 non-const value::at overloads 2022-05-23 19:35:29 +03:00
sehe
98d37f9370 Clarify invalidation rules for object
The reference/iterator invalidation rules can surprise people who expect
associative containers to be node-based, similar to `std::[unordered_]map`.

This calls it out more visibly to avoid surprises.
2022-05-14 20:18:42 +03:00
Dmitry Arkhipov
07e3ef1947 array::erase(it) defers to array::erase(it,it) 2022-05-14 15:39:32 +03:00
Dmitry Arkhipov
c901d28f82 JSON pointer implementation 2022-03-02 13:52:18 +03:00
Dmitry Arkhipov
eb6441465a fix linking issues for limits.cpp 2022-02-21 15:35:39 +03:00
Dmitry Arkhipov
56eaebf1cb add source_location to error_codes 2022-02-18 14:31:47 +03:00
Dmitry Arkhipov
6fc14477bb Switch to core::string_view 2022-02-06 17:35:09 +03:00
Dmitry Arkhipov
1523954c98 Add std::error_code overloads 2022-02-06 17:35:09 +03:00
Dmitry Arkhipov
d20a814685 Remove standalone 2022-02-06 17:35:09 +03:00
Dmitry Arkhipov
1d7cbc2e55 Fix clang 3.5 failures 2021-12-05 14:05:38 +03:00
Dmitry Arkhipov
54397e6605 Fix standalone build in CI 2021-10-22 14:47:58 +03:00
Dmitry Arkhipov
31dd295232 Allow external libraries to forward declare value_to/from 2021-10-20 22:35:21 +03:00
Dmitry Arkhipov
9e422287fa Deprecate standalone 2021-10-20 22:34:27 +03:00
Dmitry Arkhipov
a63c6ff301 b2 feature for standlaone mode 2021-10-04 17:29:28 +03:00
Dmitry Arkhipov
a30b76c51b Remove unnecessary build script code 2021-10-04 17:29:28 +03:00
Dmitry Arkhipov
5b45854bb0 Fix signed integer overflow in exponent parsing 2021-08-20 11:54:38 +03:00
Dmitry Arkhipov
745be88916 Refactor CMakeLists
* Overhaul of dealing with CMake use cases
* Put target property setup into a function
* Fix test standalone_with_boost for CMake
* Other minor fixes/edits
2021-06-28 10:12:04 +03:00
Dmitry Arkhipov
445efad9a9 Remove trailing whitespace 2021-06-26 16:17:57 +03:00
Dmitry Arkhipov
351603c9b2 value_to supports std::array 2021-05-23 22:49:02 +03:00
Dmitry Arkhipov
562c9f5e7e value_from supports std::array 2021-05-23 09:58:11 +03:00
Dmitry Arkhipov
b040917ced key_value_pair allocates with the correct alignment 2021-05-22 21:20:45 +03:00
Dmitry Arkhipov
a3edd051e2 checking_resource for testing allocations 2021-05-22 21:20:45 +03:00
Dmitry Arkhipov
6e69ed376b Remove ryu::d2s_buffered 2021-05-22 21:19:19 +03:00
Dmitry Arkhipov
dffb248677 Remove ryu::d2s 2021-05-22 21:19:19 +03:00
Dmitry Arkhipov
112f2af950 Tests for object constructor from empty range 2021-05-08 15:29:19 +03:00
Dmitry Arkhipov
a46690714c Fix array constructor from iterators 2021-05-08 15:29:19 +03:00
Dmitry Arkhipov
73e582d6fc Remove trailing whitespace 2021-05-08 15:29:18 +03:00
Dmitry Arkhipov
2ebbd0cfe3 to_number overload takes error 2021-05-08 01:01:45 +03:00
Dogan Ulus
f6a429e443 Expand and improve tests 2021-05-06 21:29:35 +03:00
Dogan Ulus
87a93dade5 Add std::hash specializations for json types 2021-05-06 21:24:26 +03:00
Dmitry Arkhipov
7c482b5ee0 Depend on Mp11 2021-05-04 16:59:29 +03:00
Dmitry Arkhipov
5e69b5a61e Remove trailing whitespace 2021-05-04 16:36:28 +03:00
Dmitry Arkhipov
3a80d5fc9b Documentation fixes 2021-05-04 16:36:28 +03:00
Dmitry Arkhipov
aae1863def value_to supports TupleLike types 2021-04-26 03:33:50 +03:00
Dmitry Arkhipov
0d65b0ada0 json::string is convertible to string_view 2021-04-26 03:25:45 +03:00
Dmitry Arkhipov
5bae7ef9ad Remove trailing whitespace 2021-04-26 03:25:17 +03:00
Dmitry Arkhipov
de6e72d5c0 Prefix tests in CMake with boost_json 2021-04-26 00:43:19 +03:00
KoaLaYT
a53e2181d2 object deallocates the correct size 2021-04-25 19:39:39 +03:00
Dmitry Arkhipov
a122abac63 Remove trailing whitespace 2021-04-25 16:18:01 +03:00
Dmitry Arkhipov
92463f9f36 Remove unnecessary semicolon 2021-03-17 10:42:58 -07:00
Dmitry Arkhipov
e580ace767 value_from supports char const* 2021-03-04 22:08:59 +03:00