2
0
mirror of https://github.com/boostorg/json.git synced 2026-01-19 16:22:20 +00:00

62 Commits

Author SHA1 Message Date
Dmitry Arkhipov
bacc644f93 deprecate type aliases 2024-02-09 13:19:49 +03:00
Dmitry Arkhipov
36552f0c94 remove namespace macros 2023-01-02 18:41:01 +03:00
Dmitry Arkhipov
c6508328c8 implement std::hash support via boost::hash 2023-01-02 12:37:41 +03:00
Dmitry Arkhipov
73946424a3 add boost::hash support 2023-01-02 12:37:41 +03:00
Dmitry Arkhipov
445efad9a9 Remove trailing whitespace 2021-06-26 16:17:57 +03:00
Dogan Ulus
f6a429e443 Expand and improve tests 2021-05-06 21:29:35 +03:00
Vinnie Falco
0fd1d1a9a7 basic_parser::depth is private
fix #430
2020-10-04 11:21:55 -07:00
Vinnie Falco
9b86962fbc Add metadata and update repo links 2020-10-04 11:06:25 -07:00
Vinnie Falco
7cb4ad1884 Rename to basic_parser::write_some (API Change)
fix #394

basic_parser::write is now called write_some
2020-09-24 10:39:25 -07:00
Vinnie Falco
360b611612 Roll back value kind interface changes:
fix #339

* value::is_array, et. al. return bool
* value::if_array returns a pointer
* array::if_contains replaces contains
* object::if_contains replaces contains
* object::contains returns bool
2020-09-15 18:10:33 -07:00
Vinnie Falco
408ae16477 Test parse allocation discrepancy 2020-09-13 18:36:12 -07:00
Vinnie Falco
a39a6113f5 basic_parser errors are sticky 2020-09-13 12:04:41 -07:00
Krystian Stasiowski
f3d0710e37 Handler specifies structure and string limits 2020-09-09 12:12:50 -07:00
Vinnie Falco
a9f72dd9bc Rename to done, add parser write overload 2020-09-08 09:02:30 -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
Krystian Stasiowski
3fae437722 Pass total string size to handlers
fix #266
2020-09-05 16:42:52 -07:00
Vinnie Falco
8b11ca3586 Replace value::if_ with value::is_
close #249
2020-09-04 15:48:58 -07:00
Vinnie Falco
94e26abb66 standalone is an inline namespace
fix #181, close #244
2020-09-01 15:44:47 -07:00
Krystian Stasiowski
b94d3c14bd Structure size is passed to handlers 2020-08-27 18:44:44 -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
Vinnie Falco
3e4eb3055f Doc work 2020-08-20 15:21:09 -07:00
Vinnie Falco
36c4a1a787 basic_parser is a class template 2020-08-18 15:10:22 -07:00
Vinnie Falco
c6b4fcfbe0 basic_parser is a data member 2020-08-18 13:51:53 -07:00
Krystian Stasiowski
64bfb2e703 Pass raw number literals to handlers
close #142
2020-08-11 16:04:32 -07:00
Krystian Stasiowski
e876282d3e Remove constructor from parse_options 2020-08-11 16:01:54 -07:00
Krystian Stasiowski
eea4758df8 Improve basic_parser coverage 2020-08-09 15:24:24 -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
Krystian Stasiowski
86addf23a4 Remove size parameter from object and array handlers 2020-06-30 23:07:22 -04:00
Vinnie Falco
1061bcaa21 Check array contents in tests 2020-05-01 17:41:31 -07:00
Vinnie Falco
3404eed7df Better is_equal 2020-04-05 15:36:33 -07:00
Vinnie Falco
a47b0f3fc1 storage_ptr uses memory_resource 2020-04-05 13:21:29 -07:00
Vinnie Falco
2545475bdd basic_parser is a base 2020-04-04 06:58:55 -07:00
Vinnie Falco
845d7af5e3 Refactor include files for basic_parser 2020-04-01 09:22:23 -07:00
Vinnie Falco
7784fdd45b StackEmpty is a compile time constant 2020-03-29 10:32:43 -07:00
Vinnie Falco
8822a141c8 Tidy up parsers 2020-03-29 08:59:08 -07:00
Vinnie Falco
79ba1a8198 Use return channel in parser 2020-03-28 15:37:30 -07:00
Vinnie Falco
52491dcc82 Refactor parsing 2020-03-25 12:53:59 -07:00
Krystian Stasiowski
75528587ff Refactor string 2020-02-08 19:41:33 -05: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
a5a147e6fb Doc work 2019-11-18 18:40:16 -08:00
Vinnie Falco
e0b3ca5f0d Rename to storage() 2019-11-18 05:16:57 -08:00
Vinnie Falco
83778c5005 doc work 2019-11-14 15:56:03 -08:00
Vinnie Falco
9da2877b28 limits tests 2019-11-12 06:22:46 -08:00
Vinnie Falco
68f3df0403 Tidy 2019-11-11 19:21:48 -08:00
Vinnie Falco
f8f6608a15 parser stack fixes 2019-11-11 17:22:42 -08:00
Vinnie Falco
fb9479d0b5 parser tests and fixes 2019-11-11 07:09:49 -08:00
Vinnie Falco
92bc307eb3 Test utilities 2019-11-10 16:58:42 -08:00