2
0
mirror of https://github.com/boostorg/json.git synced 2026-01-19 16:22:20 +00:00

51 Commits

Author SHA1 Message Date
Dmitry Arkhipov
427baa6e47 remove dependency on StaticAssert 2025-10-24 19:33:52 +03:00
Dmitry Arkhipov
9b3b993ff6 short circuit serializer::read on empty buffer 2024-10-30 15:33:31 +03:00
Dmitry Arkhipov
7b493e792a UDT serialization of paths 2024-09-16 18:15:25 +03:00
Dmitry Arkhipov
8f7b1edef9 UDT serialization of optionals 2024-09-16 18:15:25 +03:00
Dmitry Arkhipov
4a5e6bbccf UDT serialization of variants 2024-09-16 18:15:25 +03:00
Dmitry Arkhipov
097a3da7d2 UDT serialization of described enums 2024-09-16 18:15:25 +03:00
Dmitry Arkhipov
42576b096a UDT serialization of described structs 2024-09-16 18:15:25 +03:00
Dmitry Arkhipov
5666575e7b UDT serialization of tuples 2024-09-16 18:15:25 +03:00
Dmitry Arkhipov
d291537423 UDT serialization of maps 2024-09-16 18:15:25 +03:00
Dmitry Arkhipov
3caf6daa7f UDT serialization of sequences 2024-09-16 18:15:25 +03:00
Dmitry Arkhipov
bf39bc29c4 UDT serialization of strings 2024-09-16 18:15:25 +03:00
Dmitry Arkhipov
473aee9cd0 UDT serialization of bool and null 2024-09-16 18:15:25 +03:00
Dmitry Arkhipov
b787cf1bc7 initial implementation of UDT serialization
currently only arithmetic types are supported
2024-09-16 18:15:25 +03:00
Dmitry Arkhipov
0f48f98a5c refactor treatment of non-trivials by stack
* trivial copyability is enough for fast approach;
* non-trivials are stored in a linked list interspersed with trivials;
* objects can be moved into stack
* non-trivial holders aren't polymorphic
2024-09-16 18:15:25 +03:00
Dmitry Arkhipov
cbab2515a8 detail::stack tests 2024-09-16 18:15:25 +03:00
Dmitry Arkhipov
bacc644f93 deprecate type aliases 2024-02-09 13:19:49 +03:00
Dmitry Arkhipov
be759c5051 only throw system_error 2023-06-02 16:23:08 +03:00
Vinnie Falco
c06b17aab8 caller provided serializer storage 2023-01-27 20:41:15 +03:00
Dmitry Arkhipov
36552f0c94 remove namespace macros 2023-01-02 18:41:01 +03:00
Vinnie Falco
9b86962fbc Add metadata and update repo links 2020-10-04 11:06:25 -07:00
Vinnie Falco
e0b7b2b4f9 Tidy up dtor exception specs and docs
fix #309
2020-09-15 17:43:10 -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
6d5f1d53b9 Enable serializer round trip tests
fix #214, close #258
2020-09-03 13:00:36 -07:00
Vinnie Falco
57d7eb8e7f Refactor serializer (API Change) 2020-09-01 17:58:23 -07:00
Vinnie Falco
94e26abb66 standalone is an inline namespace
fix #181, close #244
2020-09-01 15:44:47 -07:00
Vinnie Falco
2cebc31222 to_string is in its own header 2020-08-27 13:48:26 -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
Vinnie Falco
71f82e2c9a Rewrite serializer 2020-03-27 08:42:12 -07:00
Vinnie Falco
37d0a09242 Refactor some tests 2020-02-27 19:36:04 -08:00
Richard Hodges
5aae31dc74 number parser work
close #33
2020-01-14 13:43:07 -08:00
Vinnie Falco
07246e2909 Add standalone test_suite 2019-12-11 18:34:39 -08:00
Vinnie Falco
dc89f5cad1 Coverage 2019-11-15 04:10:58 -08:00
Vinnie Falco
83778c5005 doc work 2019-11-14 15:56:03 -08:00
Vinnie Falco
36f353c956 coverage 2019-11-12 07:57:08 -08:00
Vinnie Falco
9da2877b28 limits tests 2019-11-12 06:22:46 -08:00
Vinnie Falco
68f3df0403 Tidy 2019-11-11 19:21:48 -08:00
Vinnie Falco
f66d74a863 parser::destroy 2019-11-11 17:22:42 -08:00
Vinnie Falco
7afa6c1528 Fix parser stack align 2019-11-10 05:56:38 -08:00
Vinnie Falco
4680e0106c Refactor numbers 2019-10-31 18:26:16 -07:00
Vinnie Falco
3aae726eb1 serializer work 2019-10-27 14:44:59 -07:00
Vinnie Falco
84745da422 ieee_parser 2019-10-26 20:25:38 -07:00
Vinnie Falco
dd8dd9929f serializer work 2019-10-26 06:31:07 -07:00
Vinnie Falco
0f0c6fe4e7 Tidy up files 2019-10-20 10:05:55 -07:00
Vinnie Falco
6b9f84d3ed number work 2019-10-20 09:58:51 -07:00
Vinnie Falco
6c4379c1ed Add ryu 2019-10-19 16:11:44 -07:00
Vinnie Falco
a6f1494467 Refactor serializer 2019-10-19 13:48:30 -07:00
Vinnie Falco
80d0fa8b1a Remove asio dependency 2019-10-12 16:11:56 -07:00
Vinnie Falco
5f25cdff99 array work 2019-10-03 03:13:33 -07:00
Vinnie Falco
57b4ce946b Use boost::system::error_code 2019-09-20 18:02:51 -07:00