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
Krystian Stasiowski
fbe3101081
Doc work
...
fix #192 , fix #194 , close #188
2020-08-23 13:57:03 -07:00
Krystian Stasiowski
ecd8aafe3b
Fix UTF-8 validation
...
fixes #162
2020-08-22 06:52:47 -07:00
Eelis van der Weegen
a0bd6372c6
storage_ptr always points to memory_resource
...
close #182
2020-08-21 15:56:36 -07:00
Vinnie Falco
3e4eb3055f
Doc work
2020-08-20 15:21:09 -07:00
Vinnie Falco
a90527ca7b
Refactor value_builder
2020-08-20 11:18:12 -07:00
Krystian Stasiowski
a342c936e4
Check for overflow in basic_parser
2020-08-20 13:21:57 -04:00
Krystian Stasiowski
f7c60debe1
Fix max depth
...
fix #176 , close #177
2020-08-20 09:23:24 -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
Vinnie Falco
d2c7de6376
Add value_builder
2020-08-18 13:51:53 -07:00
Vinnie Falco
8893e108e3
max_size for array and object is equal
...
close #167
2020-08-18 13:46:21 -07:00
Krystian Stasiowski
400136a292
Fix unintended move from initializer list elements
...
fix #158 , close #161
2020-08-16 14:39:04 -07:00
Krystian Stasiowski
42e4f2053b
Fix unintended move from string initializer list elements
...
fix #158 , close #159
2020-08-16 08:44:25 -07:00
Krystian Stasiowski
fa67c5f896
Number literal handler tests
...
fix #149 , close #153
2020-08-12 11:08:49 -07:00
Krystian Stasiowski
37fc3e1ac8
Value documentation fixes
...
fix #110 , close #143
2020-08-12 09:36:52 -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
64bfb2e703
Pass raw number literals to handlers
...
close #142
2020-08-11 16:04:32 -07:00
Krystian Stasiowski
bbe88df37c
Doc work
...
close #139
2020-08-11 16:02:09 -07:00
Krystian Stasiowski
e876282d3e
Remove constructor from parse_options
2020-08-11 16:01:54 -07:00
Krystian Stasiowski
5b4ee6f09c
Add missing string tests
...
fix #135 , close #146
2020-08-11 15:57:48 -07:00
Krystian Stasiowski
33210b1f73
Improve parser coverage
2020-08-09 15:24:31 -07:00
Krystian Stasiowski
eea4758df8
Improve basic_parser coverage
2020-08-09 15:24:24 -07:00
Krystian Stasiowski
c77982f2a9
Disable hash test for libstdc++ 4.8
2020-08-09 08:39:19 -07:00
Vinnie Falco
098643f04a
Specialize std::hash for json string
...
fix #133
2020-08-07 18:21:47 -07:00
Krystian Stasiowski
95b499a2f5
Refactor trailing commas
2020-07-28 14:27:52 -04:00
Krystian Stasiowski
c56d0f55d0
Refactor tests
2020-07-28 14:27:52 -04:00
Krystian Stasiowski
d98b565887
UTF-8 validation
2020-07-28 14:27:50 -04: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
AeroStun
4d1587900f
Make key_value_pair tuple-like
...
close #112 , close #121
2020-06-30 16:56:42 -07:00
AeroStun
856f9169df
Remove duplicate static_assert
2020-06-30 13:06:55 -07:00
Krystian Stasiowski
ed8f95e161
Flush buffer after parsing escapes
...
close #113 , close #114
2020-06-29 18:15:46 -07:00
Krystian Stasiowski
6057a9f760
Eliminate warnings
2020-06-29 19:38:50 -04:00
Vinnie Falco
f47fbeb1a5
Refactor value conversions
2020-06-08 15:11:12 -07:00
Krystian Stasiowski
5a9b314c45
Refactor allocator docs
2020-05-19 14:20:03 -07:00
Vinnie Falco
a412606a72
Fix warnings
2020-05-19 12:46:04 -07:00
Krystian Stasiowski
e49288be75
Refactor monotonic_resource
2020-05-13 17:10:32 -07:00
Vinnie Falco
4a6a6e7cc3
Parser limits are error codes
...
fix #65
2020-05-03 12:33:50 -07:00
Vinnie Falco
e02029379e
object fixes:
...
* Don't apply salt twice
* Fix infinite loop in remove
* Tests for bucket collisions
2020-05-02 15:05:25 -07:00
Vinnie Falco
af66849e90
string fixes:
...
* Remove redundant members
* Use `explicit` to prevent ambiguities
2020-05-01 17:50:19 -07:00
Vinnie Falco
a6d2549ddf
storage_ptr fixes:
...
* Fix constraint in constructor
* No longer constructible from nullptr
2020-05-01 17:41:38 -07:00
Vinnie Falco
1061bcaa21
Check array contents in tests
2020-05-01 17:41:31 -07:00
Vinnie Falco
9d3f055ff5
Workaround for LLVM/clang-cl bug
2020-04-30 19:00:09 -07:00
Alexej Harm
e74f9bf6f1
Enable cmake install:
...
When building outside of boost, boost_json now supports the install option of cmake.
This patch produces a full, correct install which obeys CMAKE_INSTALL_PREFIX and
creates the correct config.cmake files in order to construct the target Boost::json
This config will automatically find Boost::system using the standard cmake find_package
command
2020-04-30 06:52:50 -07:00
Vinnie Falco
137c1653a8
Refactor string_view include
2020-04-17 14:31:55 -07:00
Vinnie Falco
fc0b74f986
Refactor memory resource includes
2020-04-17 14:31:55 -07:00