2
0
mirror of https://github.com/boostorg/json.git synced 2026-01-26 06:32:23 +00:00
Commit Graph

228 Commits

Author SHA1 Message Date
Peter Dimov
edcafb3f5d Add a count argument to count_whitespace 2020-03-27 13:33:09 -07:00
Peter Dimov
0360505b75 Add one additional early return in parse_white 2020-03-27 13:33:09 -07:00
Krystian Stasiowski
fdee3ceb71 Fix value_ref construction for const rvalues 2020-03-27 13:20:43 -07:00
Vinnie Falco
ece8c663e5 Tidy and update benchmarks 2020-03-27 11:27:57 -07:00
Vinnie Falco
be90a62492 Fix warnings and tidy 2020-03-27 11:12:54 -07:00
Peter Dimov
3517b241d3 Improve whitespace parsing 2020-03-27 08:48:40 -07:00
Peter Dimov
b52811120a Add and use count_whitespace 2020-03-27 08:48:40 -07:00
Peter Dimov
2d3271681f Change parse_unsigned trailer from loop to switch 2020-03-27 08:48:40 -07:00
Peter Dimov
2f6d014974 Extend the integer fast path for floating point numbers 2020-03-27 08:48:40 -07:00
Peter Dimov
2bb3c39865 Fix parse_unsigned 2020-03-27 08:48:40 -07:00
Peter Dimov
49d5f18d82 Implement a fast path for integers 2020-03-27 08:48:40 -07:00
Vinnie Falco
71f82e2c9a Rewrite serializer 2020-03-27 08:42:12 -07:00
Vinnie Falco
93783ad2d2 Rename to const_stream 2020-03-26 17:45:32 -07:00
Vinnie Falco
a7ef611630 Remove old number code 2020-03-26 08:24:00 -07:00
Vinnie Falco
c2cfd0df88 Coverage 2020-03-25 23:07:46 -07:00
Vinnie Falco
171b36d825 Fix stream clip 2020-03-25 17:20:05 -07:00
Vinnie Falco
c9dfa46c1c stack is allocated 2020-03-25 17:20:05 -07:00
Vinnie Falco
52491dcc82 Refactor parsing 2020-03-25 12:53:59 -07:00
Krystian Stasiowski
66553d1baa Improve string exposition 2020-03-14 13:32:25 -07:00
Vinnie Falco
8d13f6feeb Faster number parsing 2020-03-11 09:44:07 -07:00
Vinnie Falco
7db53b439d Refactor number parsing 2020-03-11 08:26:32 -07:00
Krystian Stasiowski
27f8b5d1e9 Fix move construction of value from object 2020-03-08 16:53:14 -07:00
Krystian Stasiowski
427f9fbf75 Add moving of strings from value_ref 2020-03-08 16:53:14 -07:00
Mateusz Łoskot
129b10ad9d Avoid redefinition of BOOST_JSON_SOURCE macro 2020-03-07 16:00:50 -08:00
Krystian Stasiowski
a38c4247fa Improve coverage 2020-02-23 17:11:30 -08:00
m8mble
18e0abc156 Fix warning when compiling with -Wsign-compare 2020-02-23 16:33:38 -08:00
Richard Hodges
6e1960a3e8 Fix surrogate conversion error
fix #38, close #40
2020-02-13 17:46:35 -08:00
Krystian Stasiowski
75528587ff Refactor string 2020-02-08 19:41:33 -05:00
Krystian Stasiowski
87d13bcf2c Doc work 2020-02-08 18:41:37 -05:00
Richard Hodges
5aae31dc74 number parser work
close #33
2020-01-14 13:43:07 -08:00
Vinnie Falco
1e0fbdbb3d Set BOOST_JSON_SOURCE as needed 2020-01-07 06:27:30 -08:00
Vinnie Falco
61a0691583 Use move in value_ref 2019-12-19 16:26:36 -08:00
Vinnie Falco
846266c09c Add value::operator= overload 2019-12-19 16:23:18 -08:00
Vinnie Falco
35c6d9a52d Use raise to throw exceptions 2019-12-19 11:09:44 -08:00
Vinnie Falco
bd7fd2ff57 Refactor exceptions 2019-12-18 21:12:19 -08:00
Vinnie Falco
cabbb853db Tidy up config 2019-12-18 08:56:01 -08:00
Vinnie Falco
2d579c440c Add value::at overloads 2019-12-15 18:23:53 -08:00
Vinnie Falco
3328558266 Doc work and fixes 2019-12-15 15:33:06 -08:00
Vinnie Falco
9d4f8160b4 Refactor value_ref 2019-12-15 13:34:22 -08:00
Vinnie Falco
94647c341d Refactor value conversions 2019-12-15 04:24:54 -08:00
Vinnie Falco
369e63cbd7 Silence some warnings 2019-12-12 11:01:19 -08:00
Vinnie Falco
21ed476b0e Don't require <ostream> in string.hpp 2019-12-12 05:33:19 -08:00
Vinnie Falco
07246e2909 Add standalone test_suite 2019-12-11 18:34:39 -08:00
Vinnie Falco
3844c0eb09 Add value_ref for initializer lists 2019-12-09 20:08:40 -08:00
Vinnie Falco
5e8a65d94a Add BOOST_JSON_REQUIRE_CONST_INIT config macro 2019-12-08 19:29:34 -08:00
Vinnie Falco
62da38aaa5 Tidy up throws 2019-12-04 04:53:42 -08:00
Vinnie Falco
4a149d4cc2 Add number_cast:
close #17

number_cast<> provides a simple way to cast a value to a number.
2019-12-03 20:05:38 -08:00
Vinnie Falco
08dcc28218 Don't overflow temp buffer during parse
fix #20
2019-12-03 19:49:17 -08:00
Vinnie Falco
5c43f97e2f Coverage and tidy 2019-12-03 07:16:38 -08:00
Vinnie Falco
d406424962 Add parser::reserve:
Close #16
2019-12-02 20:00:07 -08:00