2
0
mirror of https://github.com/boostorg/json.git synced 2026-01-19 04:12:14 +00:00

69 Commits

Author SHA1 Message Date
Dmitry Arkhipov
427baa6e47 remove dependency on StaticAssert 2025-10-24 19:33:52 +03:00
Dmitry Arkhipov
bacc644f93 deprecate type aliases 2024-02-09 13:19:49 +03:00
Dmitry Arkhipov
be759c5051 only throw system_error 2023-06-02 16:23:08 +03:00
Dmitry Arkhipov
36552f0c94 remove namespace macros 2023-01-02 18:41:01 +03:00
Dmitry Arkhipov
56eaebf1cb add source_location to error_codes 2022-02-18 14:31:47 +03:00
Dmitry Arkhipov
1523954c98 Add std::error_code overloads 2022-02-06 17:35:09 +03:00
Vinnie Falco
9b86962fbc Add metadata and update repo links 2020-10-04 11:06:25 -07:00
Vinnie Falco
7882ccf866 parser docs, test, and tidy 2020-09-27 20:00:29 -07:00
Vinnie Falco
c92461baf3 Add parser 2020-09-26 18:09:54 -07:00
Vinnie Falco
d026d5daed Rename to stream_parser 2020-09-26 17:57:00 -07:00
Vinnie Falco
e0b7b2b4f9 Tidy up dtor exception specs and docs
fix #309
2020-09-15 17:43:10 -07:00
Vinnie Falco
a089365935 parser never produces UB 2020-09-13 14:24:49 -07:00
Vinnie Falco
94eeef5484 parser is reset on construction 2020-09-13 13:02:12 -07:00
Vinnie Falco
76d8c9c8b1 parser has exception interface 2020-09-12 20:17:28 -07:00
Vinnie Falco
24e8e45690 parser release has a precondition 2020-09-08 17:47:04 -07:00
Vinnie Falco
a9f72dd9bc Rename to done, add parser write overload 2020-09-08 09:02:30 -07:00
Vinnie Falco
24c073edeb Friendly parser ctor overloads:
These facilitate construction from buffers:

* make common things simple
* make uncommon things possible
2020-09-07 18:17:36 -07:00
Vinnie Falco
591e2dc5a5 serializer refactor (API Change):
fix #275

* serialize() replaces to_string()
* serialize.hpp replaces to_string.hpp
* serializer works on all types
* serialize, operator<< work on all types
* reset() takes pointer arguments
* resetting constructor removed
2020-09-07 10:36:26 -07:00
Vinnie Falco
94e26abb66 standalone is an inline namespace
fix #181, close #244
2020-09-01 15:44:47 -07:00
Vinnie Falco
8b757cf3b9 Tidy up value_builder 2020-08-27 18:58:04 -07:00
Vinnie Falco
65ce326a7a Doc work 2020-08-27 18:41:02 -07:00
Vinnie Falco
2cebc31222 to_string is in its own header 2020-08-27 13:48:26 -07:00
Vinnie Falco
832d1fb517 Refactor parsing interfaces (API change) 2020-08-27 13:48:26 -07:00
Krystian Stasiowski
bdb5e7688b Add parse_options::max_depth
fix #205, close #209
2020-08-26 15:33:28 -07:00
Krystian Stasiowski
7e7155de59 parser members don't throw, and tidy:
* parser members do not throw
* parse free functions are in parse.hpp

fix #199. close #201
2020-08-24 16:30:48 -07:00
Krystian Stasiowski
2aca47241f Fix links
close #200
2020-08-24 14:03:51 -07:00
Vinnie Falco
d2c7de6376 Add value_builder 2020-08-18 13:51:53 -07:00
Krystian Stasiowski
360c5a47d9 Discard all but last duplicate key
fix #71, close #148
2020-08-12 08:23:31 -07:00
Krystian Stasiowski
e876282d3e Remove constructor from parse_options 2020-08-11 16:01:54 -07:00
Krystian Stasiowski
33210b1f73 Improve parser coverage 2020-08-09 15:24:31 -07:00
Krystian Stasiowski
3ac73ec531 Comment and trailing comma support
close #116
2020-07-22 15:40:46 -07:00
Krystian Stasiowski
904252de0b Fix repo links
close #123
2020-07-03 11:51:58 -07:00
Vinnie Falco
4a6a6e7cc3 Parser limits are error codes
fix #65
2020-05-03 12:33:50 -07:00
Vinnie Falco
a47b0f3fc1 storage_ptr uses memory_resource 2020-04-05 13:21:29 -07:00
Vinnie Falco
8e0356ef7a Refactor parser write 2020-04-04 13:15:40 -07:00
Vinnie Falco
b755989d83 inline true and false parsing 2020-03-28 20:29:47 -07:00
Vinnie Falco
6387fb8671 basic_parser handler is a template 2020-03-28 20:29:46 -07:00
Peter Dimov
2f6d014974 Extend the integer fast path for floating point numbers 2020-03-27 08:48:40 -07:00
Vinnie Falco
a7ef611630 Remove old number code 2020-03-26 08:24:00 -07:00
Vinnie Falco
52491dcc82 Refactor parsing 2020-03-25 12:53:59 -07:00
Vinnie Falco
37d0a09242 Refactor some tests 2020-02-27 19:36:04 -08:00
Vinnie Falco
f39934684a Add test for issue 45 2020-02-23 16:44:40 -08:00
Richard Hodges
6e1960a3e8 Fix surrogate conversion error
fix #38, close #40
2020-02-13 17:46:35 -08:00
Vinnie Falco
07246e2909 Add standalone test_suite 2019-12-11 18:34:39 -08:00
Vinnie Falco
5c43f97e2f Coverage and tidy 2019-12-03 07:16:38 -08:00
Vinnie Falco
d406424962 Add parser::reserve:
Close #16
2019-12-02 20:00:07 -08:00
Vinnie Falco
7ce1a70d4c Fix integer parsing
fix #15
2019-12-02 19:32:35 -08:00
Vinnie Falco
b75d1f35fb Rename to pool 2019-11-19 06:03:15 -08:00
Vinnie Falco
43ceae3565 Fix sample json test 2019-11-18 05:16:57 -08:00
Vinnie Falco
19ebd6c943 Refactor parser interface 2019-11-15 18:33:00 -08:00