2
0
mirror of https://github.com/boostorg/json.git synced 2026-02-09 11:12:37 +00:00
Commit Graph

322 Commits

Author SHA1 Message Date
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
Krystian Stasiowski
008043f326 Refactor string parsing
close #175
2020-08-20 09:23:02 -07:00
Krystian Stasiowski
e6a692e2d9 Split parse_string 2020-08-20 10:37:56 -04:00
Krystian Stasiowski
1d09eca16a Make is_key_ a NTTP 2020-08-20 10:37:56 -04:00
Krystian Stasiowski
16e8b9d1af Track depth as number of levels remaining
fix #164, close #173
2020-08-19 16:29:01 -07:00
Krystian Stasiowski
76f2b8d159 whitespace
close #172
2020-08-19 14:58:46 -07:00
Krystian Stasiowski
cbd497fcdd Rename comment parsing substates 2020-08-19 12:22:36 -04:00
Krystian Stasiowski
bf2bf442af Annotate parse_array and parse_object 2020-08-19 12:08:12 -04:00
Krystian Stasiowski
97d79d214f Rename stream functions 2020-08-18 19:51:45 -04:00
Krystian Stasiowski
3fdfb03d05 Docs for suspend functions 2020-08-18 18:47:54 -04:00
Krystian Stasiowski
7d1c63f1f7 Use this as canary value 2020-08-18 18:46:46 -04:00
Krystian Stasiowski
939b1fe6e5 Rename variables and suspend functions 2020-08-18 18:40:00 -04:00
Krystian Stasiowski
3a7563e9a6 Skip whitespace directly 2020-08-18 18:38:07 -04:00
Krystian Stasiowski
4240adf308 Refactor stream aliasing, suspend, and error paths 2020-08-18 18:38:06 -04: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
Paul Dreik
0c8c95f65a Fix stack:
fix #166, close #168

* don't deallocate null
* pass the correct size
2020-08-18 13:49:13 -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
6490456e59 Faster SSE2 whitespace processing
close #151
2020-08-12 10:12:56 -07:00
Krystian Stasiowski
0c9003abcb Faster SSE2 string processing
close #151
2020-08-12 10:12:31 -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
9fe41c51f0 key_value_pair get overload javadocs
fix #120, close #144
2020-08-11 16:17:36 -07:00
Krystian Stasiowski
5a8bdcf9a1 Fix get for key_value_pair 2020-08-11 16:17:27 -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
Vinnie Falco
ec29dfa768 Rename to AllowBadUTF8 2020-08-09 15:50:19 -07:00
Krystian Stasiowski
8e9ca507df Comment parsing fixes 2020-08-09 15:24:27 -07:00
Krystian Stasiowski
b6719ef78f Number parsing bug fixes 2020-08-09 15:24:20 -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
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
849a6559dd Use jump table in parse_value 2020-07-22 14:15:05 -04:00
Krystian Stasiowski
1c3809a093 Better code generation without local_const_stream 2020-07-20 16:18:15 -04:00
Krystian Stasiowski
53cd3069a4 Use constant operand for modulo
Fix #115, close #125
2020-07-16 12:35:53 -07:00
Krystian Stasiowski
098be8a6c7 Add storage_ptr constructor to parser
close #124
2020-07-16 12:34:52 -07:00
Krystian Stasiowski
f330c7a7c1 Refactor reserve
close #129
2020-07-16 12:32:59 -07:00
Krystian Stasiowski
516fb6891f Fix parse_unsigned for big-endian
close #128
2020-07-15 14:53:52 -07:00
Krystian Stasiowski
fcb502dde1 Remove unneeded SSE2 instruction from count_digits 2020-07-15 14:53:39 -07:00
Krystian Stasiowski
904252de0b Fix repo links
close #123
2020-07-03 11:51:58 -07:00
Krystian Stasiowski
ba0ecba360 Improve array and object return path
close #122
2020-07-03 11:51:06 -07:00
Krystian Stasiowski
86addf23a4 Remove size parameter from object and array handlers 2020-06-30 23:07:22 -04:00
Krystian Stasiowski
14bc67b63f Number parsing optimizations 2020-06-30 16:56:42 -07:00
Krystian Stasiowski
387a26e54c Remove redundant branch from parse_string 2020-06-30 16:56:42 -07:00