Commit Graph
28 Commits
Author SHA1 Message Date
8b2833b136 Avoid assuming that "std::string_view" is nullterminated. Generally it is really not. (#538)
Co-authored-by: ActuallyaDeviloper <ActuallyaDeviloper@users.noreply.github.com>
Co-authored-by: Dr. Patrick Urbanke <patrick@getml.com>
2025-12-06 18:53:45 +01:00
Dr. Patrick Urbanke (劉自成) 2b1cd83677 Use exceptions inside the writers (#535)
Adds error handling using exceptions in the write processes.
2025-10-27 23:38:20 +01:00
Dr. Patrick Urbanke (劉自成) 3ae683387e Make sure avro ints and floats are always written properly; fixes #522 (#532) 2025-10-25 19:55:08 +02:00
Dr. Patrick Urbanke (劉自成) 06988aa0e1 Updated YYJSON to 0.12.0; fixes #524 (#526) 2025-10-17 00:37:21 +02:00
Andrew Nolte 85f9642343 [json schema] Use non-deprecated $defs; Add $comment option (#523) 2025-10-15 17:51:03 +02:00
KostinPavel 732e9fe85f Cleanup includes (#519) 2025-10-13 18:16:14 +02:00
Dr. Patrick Urbanke (劉自成) ff9cc716a1 Made sure the Description and Validated retain optional; fixes #503 (#508) 2025-10-04 09:02:38 +03:00
Bryce Schober 7ff6968c73 Avoid defined but not used warning in yyjson.c (#498) 2025-09-13 14:53:21 +02:00
Brett Jia 372345888c Serialize/Deserialize vector<char> as bytestring (#466) 2025-07-20 12:57:37 +02:00
David Corbeil ee1da7b564 cbor supports std::optional; fixes #135 (#462) 2025-07-16 23:20:03 +02:00
Dr. Patrick Urbanke (劉自成) ec6ab3baf5 Improved support for string_views for TOML and XML (#445)
* Improved support for string_views for TOML and XML

* Upgrade to pugixml 1.15 in order to be able to use string views
2025-06-08 21:00:21 +02: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
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 c118963de0 Add more missing includes (#378) 2025-03-11 08:56:32 +08:00
Dr. Patrick Urbanke (劉自成) c6d0626267 Make sure rfl::Generic is NOT optional; fixes #352 (#358) 2025-02-20 21:17:27 +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
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 (劉自成) cb06a085b8 Upgrade to yyjson 0.10.0 (#282) 2024-11-27 21:47:50 +01:00
Dr. Patrick Urbanke (劉自成) b71f82b4f1 Added support for UBJSON; resolves #245 (#251) 2024-11-10 11:38:00 +01:00
Dr. Patrick Urbanke (劉自成) df56b2e31f Added the ability to transform structs from and to generic elements; resolves #201 (#210) 2024-10-13 20:30:56 +02:00
George Evmenov 9dcd49a1e0 Move some heavy templates into cpp (#204) 2024-10-08 22:12:03 +02:00
Dr. Patrick Urbanke (劉自成) a562a6fb88 Added a custom implementation of a variant (rfl::Variant) (#151) 2024-07-17 22:10:28 +02:00
Knyukuaandtoropov d697a531b3 fix: incorrect json schema for size validated fields (#146)
Co-authored-by: toropov <toropov@protei.ru>
2024-07-10 21:11:40 +02:00
Dr. Patrick Urbanke (劉自成)andPatrick Urbanke 7f0350f576 Move some code into source files to reduce compile time; #86 (#136)
---------

Co-authored-by: Patrick Urbanke <patrick@getml.com>
2024-07-03 23:14:10 +02:00
Patrick Urbanke 9a10b2f55e Added code and first tests 2023-09-30 22:02:10 +02:00