Commit Graph
328 Commits
Author SHA1 Message Date
Dr. Patrick Urbanke (劉自成) 41194ad33c Fixed the range calculation; fixes #424 (#428)
Thanks to @bryceschober for pointing this out and drafting a fix.
2025-05-05 11:52:45 +08:00
Andrew Nolte c36142d645 Allow passing yyjson flags in the read(istream) method (#425) 2025-05-03 21:17:23 +08:00
Dr. Patrick Urbanke (劉自成) 25cd3f8525 Added support for custom hash functions in unordered containers; #414 (#415) 2025-04-26 21:13:39 +08:00
Dr. Patrick Urbanke (劉自成) c36baf8d0b Better error handling for YYJSON write (#413) 2025-04-24 08:43:32 +08:00
Dr. Patrick Urbanke (劉自成) d675bfabb6 Added a separate parser for the Bytestring to avoid it being serialized as an array; #407 (#408) 2025-04-16 05:26:21 +08:00
Dr. Patrick Urbanke (劉自成) ef0b0b4729 Added support for std::chrono::duration; fixes #399 2025-04-14 00:15:26 +08:00
George Evmenov 15742a8739 Fix bytestring being serialized as vector of flag enums (#403) 2025-04-10 22:57:03 +08:00
Dr. Patrick Urbanke (劉自成) d73d98f1c8 Change back to tomlplusplus (#401)
For a long time, tomlplusplus did generate a config.cmake file, which made it difficult to use on vcpkg. As a fix, we switched to toml11.

But this has now finally been added to vcpkg, and since tomlplusplus is faster than toml11 in terms of compile time and runtime, we are changing back.
2025-04-08 13:59:24 +08:00
Joel McKenzie 0530379830 Allow Boxes to conditionally be copyable with an explicit option (#397) (#398) 2025-03-30 14:45:11 +08:00
Giovanni Claudio 74738ed131 Add enum range support with customizable min and max values (#392) 2025-03-28 15:58:36 +08:00
Dr. Patrick Urbanke (劉自成) e6299dc4e0 Use fold expressions to handle enums; #389 (#395) 2025-03-26 10:41:27 +08:00
FeO3 2eccddf082 Fix make_tag to correctly handle reflection types (#391) 2025-03-24 00:23:05 +08:00
Joel McKenzie 46693806d1 Fix bugging disallowing optionals to hold items without copy constructors (#390) 2025-03-23 21:34:56 +08:00
Dr. Patrick Urbanke (劉自成) c929d3fe0d Do not allow the reading of floats as integers and vice versa (#387) 2025-03-16 16:25:45 +08:00
Dr. Patrick Urbanke (劉自成) c9482719f6 Make sure that all textual formats also support std::string_view; #382 (#384) 2025-03-16 06:54:03 +08:00
Dr. Patrick Urbanke (劉自成) 241112f98c Make sure that no field is required when we use rfl::DefaultIfMissing; #376 (#385) 2025-03-16 00:06:27 +08:00
Dr. Patrick Urbanke (劉自成) 8027c21e8a Use toml11 instead of tomlplusplus (#381) 2025-03-15 13:23:23 +08:00
Filippo Brizzi 76ad9f8f36 add missing include new (#373) 2025-03-08 11:05:59 +08:00
George Evmenov 2ed458a194 add yyjson_read_flag symmetric to the yyjson_write_flag, so that non standard json's can be both written and read (#374) 2025-03-08 09:01:11 +08:00
George Evmenov ec8c19fa3e fix build with llvm-18 by changing Bytestring type to std::vector instead of deprecated std::basic_string<std::byte> (#369) 2025-03-02 07:23:40 +08:00
Dr. Patrick Urbanke (劉自成) 1da93be27f Bugfix: DefaultIfMissing and XML arrays; #367 (#371) 2025-03-02 01:25:33 +08:00
Dr. Patrick Urbanke (劉自成) 37dbcef95a Make sure that floating point values are serialized properly in YAML; #363 (#370) 2025-03-01 14:51:46 +08:00
redbg b35df17cb7 fix MSVC warning C4819 (#364) 2025-02-26 22:31:04 +01:00
Heiko Lewin e825b236ee Parser_default: Move temporary variable instead of copying (#362) 2025-02-25 21:01:39 +01:00
Dr. Patrick Urbanke (劉自成) c3764e83ce Added remove_rename (#360); fixes #359 2025-02-20 22:14:32 +01:00
Dr. Patrick Urbanke (劉自成) c6d0626267 Make sure rfl::Generic is NOT optional; fixes #352 (#358) 2025-02-20 21:17:27 +01:00
AnsiV01 33eac03e0d Add missing Bytestring.hpp include in msgpack\Writer.hpp (#356) 2025-02-20 08:41:29 +01:00
Dr. Patrick Urbanke (劉自成) 53f7a3b786 Adapted the C arrays flag; fixes #353 (#355) 2025-02-19 00:46:01 +01:00
Dr. Patrick Urbanke (劉自成) b7af660b50 Make sure we don't mix integers and floats in msgpack (#354) 2025-02-19 00:09:28 +01:00
Brett Jia de246990f9 rfl::Generic: add support for long (int64) (#333) 2025-02-07 21:54:13 +01:00
Jowillianto 6d51c12db5 Feat/286/std expected (#340) 2025-02-03 19:27:10 +01:00
Dr. Patrick Urbanke (劉自成) 1b60b09de8 Use jsoncons for CBOR instead of TinyCBOR (#325) 2025-01-06 17:21:22 +01:00
Dr. Patrick Urbanke (劉自成) 1d58526869 Added support for Cap'n Proto (#323) 2025-01-06 15:12:40 +01:00
aligirayhanozbay 7affb4e421 Json read string view (#312) 2024-12-22 20:55:09 +01:00
Dr. Patrick Urbanke (劉自成) 896c4a4132 Made sure uint8_t is properly handled by YAML; #270 (#311) 2024-12-22 19:14:16 +01:00
Dr. Patrick Urbanke (劉自成) 23ce24f001 Make sure you can insert unsupported types into rfl::Skip<...>; #299 (#304) 2024-12-22 15:43:17 +01:00
Dr. Patrick Urbanke (劉自成) e46835287f Added support for Apache Avro, and thus for schemaful formats (#303) 2024-12-22 14:53:25 +01:00
Dr. Patrick Urbanke (劉自成) 95f97b4872 Use static_cast for the pointer transformations (#298) 2024-12-18 21:17:05 +01:00
Doekin fe8a5c580f Timestamp: Update workaround to support MinGW alongside MSVC (#296) 2024-12-18 08:34:05 +01:00
Matthieu DubugetandMatthieu Dubuget 99f3f50fd3 Add operator== to TaggedUnion.hpp (#280)
Co-authored-by: Matthieu Dubuget <matthieu.dubuget@tpac-ndt.com>
2024-12-06 23:45:12 +01:00
Dr. Patrick Urbanke (劉自成) cb06a085b8 Upgrade to yyjson 0.10.0 (#282) 2024-11-27 21:47:50 +01:00
Zhaoandzhaoshunxian 1fa3d2c024 Add the Parameterless Constructor, Three-way comparison operator and Equality comparison operator. (#258)
Co-authored-by: zhaoshunxian <zhaoshunxian@cviauto.com>
2024-11-14 16:48:19 +01:00
Manuel Bellersen 1f39b4f1e7 Use perfect forwarding on rfl::visit for rfl::TaggedUnion (#252) 2024-11-12 19:35:54 +01:00
Dr. Patrick Urbanke (劉自成) b71f82b4f1 Added support for UBJSON; resolves #245 (#251) 2024-11-10 11:38:00 +01:00
Manuel Bellersen 716de7b6fd Emplace into optional to be able to visit variant containers containi… (#234) 2024-11-08 13:39:08 +01:00
David Corbeil beb27d4f4d Fixed issue where 32 bit compilation cause template type deduction fail (#247)
Signed-off-by: David Corbeil <david.corbeil@dynon.com>
2024-11-05 22:49:08 +01:00
Dr. Patrick Urbanke (劉自成) 9fe3758063 Automatically add tags to variants; fixes #230 (#246) 2024-11-05 21:11:28 +01:00
Dr. Patrick Urbanke (劉自成) 2ef144c041 Added support for raw pointers; #218 (#244) 2024-11-05 00:14:56 +01:00
Dr. Patrick Urbanke (劉自成) 458ca09198 Remove warnings generated by GCC and Clang (#243) 2024-11-01 00:01:52 +01:00
Dr. Patrick Urbanke (劉自成) ebe33017ad Remove most instances of reinterpret_cast with std::bit_cast (#242) 2024-10-31 20:05:55 +01:00