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

454 Commits

Author SHA1 Message Date
Vinnie Falco
7882ccf866 parser docs, test, and tidy 2020-09-27 20:00:29 -07:00
Vinnie Falco
47fdfb0840 basic_parser has no undefined behavior 2020-09-27 18:37:15 -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
3872c480d5 Factor out handler 2020-09-26 17:33:14 -07:00
Peter Dimov
97789ff3b0 Switch to runtime parameters where it was determined to not be detrimental to performance 2020-09-26 21:16:25 +03:00
Peter Dimov
9137489908 Refactor bool template parameters into integral constants 2020-09-26 18:42:13 +03:00
Peter Dimov
d34c25740c Refactor parse_escaped to take integral_constants 2020-09-26 16:46:46 +03:00
Vinnie Falco
3182839125 Tidy object javadoc
fix #384, fix #385, fix #386
2020-09-25 19:17:37 -07:00
Vinnie Falco
31653abb51 storage() returns by value
fix #380
2020-09-25 18:44:34 -07:00
Vinnie Falco
ff7f70d0ec Remove string::traits_type and unneeded includes 2020-09-25 13:27:37 -07:00
Vinnie Falco
3fbc6b3017 Add boost/json/fwd.hpp
fix #416
2020-09-25 12:59:16 -07:00
Krystian Stasiowski
c547ca9d21 Use switch instead of jump table 2020-09-25 11:13:09 -07:00
Vinnie Falco
0da206074f document pilfer and pilfer construction
fix #388
2020-09-24 10:39: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
ec0894397d standalone throw_exception is in json
fix #398
2020-09-24 10:39:25 -07:00
Vinnie Falco
8be4324eca document basic_parser include file
fix #400, fix #413
2020-09-24 10:39:25 -07:00
Vinnie Falco
78288aabba parser javadoc tidy
fix #402, fix #403
2020-09-24 10:39:25 -07:00
Vinnie Falco
fa6a6fbd55 kind is streamable
fix #405
2020-09-24 10:39:25 -07:00
Vinnie Falco
e9caf9bf10 tidy parser member briefs
fix #403
2020-09-24 08:07:48 -07:00
Vinnie Falco
1d255f746b value_from, value_to javadoc tidy
fix #410
2020-09-23 19:13:22 -07:00
Krystian Stasiowski
b9fcfb04fa StringLike uses const char*
fix #370, close #373
2020-09-26 16:38:37 -07:00
Vinnie Falco
17a5478e8b javadoc tidy 2020-09-22 10:40:36 -07:00
Krystian Stasiowski
6ddddfb16f reduce binary size 2020-09-20 13:42:27 -07:00
Krystian Stasiowski
e199bd7788 instantiate parse_comment less 2020-09-20 13:42:05 -07:00
Vinnie Falco
50b5c52b32 Refactor array 2020-09-20 13:00:08 -07:00
Vinnie Falco
8c1075ab0b Remove redundant type traits
fix #348
2020-09-18 13:30:10 -07:00
Vinnie Falco
48015f4003 Named requirements are linked 2020-09-17 16:59:39 -07:00
Vinnie Falco
c113849f59 Tidy up assignment and swap
fix #357
2020-09-17 16:09:29 -07:00
Julien Blanc
78c2bd3012 Fix standalone compilation with gcc8.3:
close #354

gcc 8.3 does not ship with the memory_resource header, but ships with
experimental/memory_resource

This header is required to use json without boost.

Since gcc 8.3 is what’s include in debian stable, it can be expected
that it will benefit many users to fallback on
experimental/memory_resource if possible.

Signed-off-by: Julien Blanc <julien.blanc@tgcm.eu>
2020-09-17 13:02:43 -07:00
Krystian Stasiowski
75794a7f37 Warning 2196 is disabled on ICC
close #338
2020-09-16 18:30:58 -07:00
Vinnie Falco
a2917e736a null_resource is a singleton 2020-09-16 17:13:21 -07:00
Krystian Stasiowski
7bde63b316 value_to only permits arguments of type value
fix #304, close #340
2020-09-16 09:17:54 -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
e0b7b2b4f9 Tidy up dtor exception specs and docs
fix #309
2020-09-15 17:43:10 -07:00
Vinnie Falco
2d0bef633d Small buffer is 10 chars on 32-bit
fix #335
2020-09-14 12:22:51 -07:00
Krystian Stasiowski
fc7b1c6fd2 Using Numbers doc exposition
fix #308, close #320
2020-09-13 18:43:07 -07:00
Krystian Stasiowski
fbdffd26af string doesn't perform utf8 validation 2020-09-13 18:43:07 -07:00
Krystian Stasiowski
1b18e55804 array does not have minimum capacity
fix #314, close #317
2020-09-13 18:36:12 -07:00
Vinnie Falco
cd2f2556a6 Key allocations are byte-aligned
close #321
2020-09-13 18:36:12 -07:00
Vinnie Falco
1ff84e12d7 Doc work (parsing) 2020-09-13 15:46:08 -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
7c659533d0 Don't deallocate null 2020-09-13 12:53:10 -07:00
Vinnie Falco
a39a6113f5 basic_parser errors are sticky 2020-09-13 12:04:41 -07:00
Vinnie Falco
76d8c9c8b1 parser has exception interface 2020-09-12 20:17:28 -07:00
Vinnie Falco
a53116ce38 Doc work on allocators 2020-09-12 16:16:50 -07:00
Vinnie Falco
8bf9ebfd1b Add null_resource 2020-09-11 19:53:39 -07:00
Vinnie Falco
fc0be9173c Remove unused files 2020-09-11 19:53:39 -07:00
Vinnie Falco
7b7a977fd4 value is Regular
fix #313
2020-09-11 11:53:21 -07:00