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
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
2a1fddc965
include json.hpp in src.hpp just in case
2020-09-08 20:17:02 -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
d1f26dcea4
Tune local buffers for embedded
...
fix #302
2020-09-08 07:59:11 -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
25a4c80eef
serialize returns std::string
2020-09-07 15:32:25 -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
07dcc303b3
Fix ARM and tidy up
...
close #283
2020-09-07 10:36:18 -07:00
Vinnie Falco
47a729cf34
Tidy up error codes
...
fix #67
2020-09-06 17:22:41 -07:00
Vinnie Falco
19abf3fbea
buffers are unsigned char
...
fix #288
2020-09-06 15:08:23 -07:00
Vinnie Falco
a182f1fe06
The header-only macro is no longer needed
...
fix #260
2020-09-06 14:39:17 -07:00
Vinnie Falco
847281944b
fix limits for array, object
...
fix #273 , fix #270 , close #291
2020-09-06 14:39:11 -07:00
Vinnie Falco
c0bfb4a479
silence alignment warning in 32-bit
2020-09-06 13:04:38 -07:00
Vinnie Falco
96b7954c5a
throw_exception is in boost
2020-09-06 11:57:46 -07:00