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

588 Commits

Author SHA1 Message Date
Vinnie Falco
572b30fbbe stream output format is documented
fix #409
2020-09-23 19:13:22 -07:00
Vinnie Falco
1d255f746b value_from, value_to javadoc tidy
fix #410
2020-09-23 19:13:22 -07:00
Krystian Stasiowski
14c514f4ea value_to is idiomatic for number conversions
fix #367, close #375
2020-09-26 16:39:25 -07:00
Krystian Stasiowski
d817a91fbb Show use of designated initializers for parse_options
fix #368, close #374
2020-09-26 16:39:03 -07:00
Krystian Stasiowski
b9fcfb04fa StringLike uses const char*
fix #370, close #373
2020-09-26 16:38:37 -07:00
Vinnie Falco
8ccc35d79e standalone doc requires libstdc++ 8.3 or later 2020-09-22 13:05:08 -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
sdarwin
33910680ff Add Travis Intel target
close #334
2020-09-16 18:29:56 -07:00
Vinnie Falco
3c4ef39766 Travis coverage comes first 2020-09-16 18:00:51 -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
Paul Dreik
e358f6e636 fuzz different memory strategies and reduce buffer size
fix #333, close #347
2020-09-16 09:17:11 -07:00
Andrzej Krzemieński
945d3d145b Remove unnecessary reset() in example
close #346

The call to `parser::reset` just after default construction is redundant.
2020-09-16 09:16:19 -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
408ae16477 Test parse allocation discrepancy 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
a7e45150c5 Doc work (serializing) 2020-09-13 16:30:54 -07:00
Vinnie Falco
1ff84e12d7 Doc work (parsing) 2020-09-13 15:46:08 -07:00
Vinnie Falco
361aa35ef1 Doc work (allocators, cont) 2020-09-13 15:07:57 -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
828b6652d1 check error in bench 2020-09-12 16:16:50 -07:00
Alexej Harm
e8ba396d5d fix limits test on compilers that default to C++98 2020-09-12 16:16:50 -07:00
Vinnie Falco
7f45dac871 Requirements note memory_resource needed
fix #312
2020-09-12 08:50:51 -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
Krystian Stasiowski
07214ad235 Fix default_resource on clang 3.x 2020-09-09 13:18:55 -07:00
Krystian Stasiowski
f3d0710e37 Handler specifies structure and string limits 2020-09-09 12:12:50 -07:00
Krystian Stasiowski
da65b25f4d default_resource singleton is a magic static 2020-09-09 11:57:29 -07:00
Vinnie Falco
1328083465 Fix docs 2020-09-09 11:39:42 -07:00
Vinnie Falco
2006d02d1f Snippet work 2020-09-09 04:18:17 -07:00
Vinnie Falco
2a1fddc965 include json.hpp in src.hpp just in case 2020-09-08 20:17:02 -07:00