Commit Graph
41 Commits
Author SHA1 Message Date
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
BjornSAIMandDaedie 9b1f70ea78 Fix several warnings (#143)
Co-authored-by: Daedie <daedie@gmail.com>
2024-07-07 23:36:03 +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
Dr. Patrick Urbanke (劉自成) 641afd6f53 Handle bundled dependencies using __has_include (#128) 2024-06-28 22:40:07 +02:00
Dr. Patrick Urbanke (劉自成) 28b89ae0df Added generic elements; resolves #96 (#125) 2024-06-27 23:05:48 +02:00
Dr. Patrick Urbanke (劉自成) 0247c57d5b Added the rfl::NoFieldNames processor (#121) 2024-06-18 19:23:43 +02:00
Dr. Patrick Urbanke (劉自成) 0342e5c9a2 Separate third party libraries; resolves #79 (#119) 2024-06-13 00:37:35 +02:00
liuzicheng1987 89a939705e Added simple benchmarks for JSON; #70 (#109) 2024-06-01 17:35:27 +02:00
liuzicheng1987 6bb95ff09b More efficient way of parsing array-like data structures. (#98) 2024-05-07 20:43:04 +02:00
Joshua Burrell cca24a99ea [fix] 64bit int support for json (#92) 2024-05-06 21:40:29 +02:00
liuzicheng1987andPatrick Urbanke 15f2c632dd Added support for processors; resolves #67 (#94)
Co-authored-by: Patrick Urbanke <patrick@getml.com>
2024-05-01 20:08:06 +02:00
Patrick Urbanke 58d89e717c Optimizationg for the reader and writer; #68 2024-03-16 09:58:26 +01:00
Patrick Urbanke 54785ec893 Use std::string_view for the field names during the write process 2024-03-10 16:32:53 +01:00
Patrick Urbanke d1a9bc6b61 Added the JSON schema; #25 2024-03-03 07:09:28 +01:00
Patrick Urbanke 87cad26654 Support for pretty JSON; #63 2024-02-17 02:58:05 +01:00
Patrick Urbanke 151e606264 Made sure that to_map returns a result 2024-01-17 05:31:23 +01:00
Patrick Urbanke 5e9a660fa2 Fixed return type 2024-01-04 22:19:52 +01:00
Patrick Urbanke 03f6f2ef44 Moved Array.hpp and wrap_in_rfl_array_t into internal 2024-01-04 04:39:36 +01:00
Patrick Urbanke 11c80d4e89 Resolved merge conflicts 2024-01-03 15:49:14 +01:00
Patrick Urbanke 5c81e40f09 Redesigned the writer (#36) and added YAML support based on the new writer (#23) 2024-01-03 07:22:36 +01:00
hazby2002 c6d3012510 Remove Result<c-array>. 2024-01-02 18:17:32 +08:00
hazby2002 2d45ddfdc8 Change all decay to remove_cvref. 2023-12-29 17:05:16 +08:00
Txema Ynzenga c5e5815e73 Change project includes to relative 2023-12-23 01:04:57 +01:00
Patrick Urbanke ac244c082d Added more features to the automated field name retrieval 2023-11-27 19:51:30 +01:00
Patrick Urbanke 6b857e1104 Added support for reading and writing into streams 2023-11-19 12:34:06 +01:00
Patrick Urbanke 992115c6a0 Added test_save_load for JSON 2023-11-12 20:51:00 +01:00
Patrick Urbanke 2a948e809a Using std::optional in the fields array; fixes the test and increases safety 2023-11-11 23:33:15 +01:00
Patrick Urbanke 4d967ccde2 Added support custom constructors with results 2023-10-25 20:23:16 +02:00
Patrick Urbanke fe1b2d141e Removed unnecessary indirection 2023-10-21 22:41:36 +02:00
Patrick Urbanke 4fb6243d6f Refined the concepts and added comments 2023-10-21 21:58:45 +02:00
Patrick Urbanke 278071f2c0 Replaced map with vector of key-value-pairs 2023-10-16 22:22:54 +02:00
Patrick Urbanke 4c020e7e82 Using std::array instead of std::vector for retrieving the fields 2023-10-15 14:29:41 +02:00
Patrick Urbanke 383dde14f5 Use string_view to compare the fields 2023-10-15 13:45:07 +02:00
Patrick Urbanke f34bdd76b9 Optimized the reading of the named tuples using field indices 2023-10-14 20:35:59 +02:00
Patrick Urbanke a0d17bd3c5 load_string and save_string in separate files 2023-10-14 18:59:54 +02:00
Patrick Urbanke f267bfa154 Added load and save 2023-10-14 00:04:17 +02:00
Patrick Urbanke 745c7ead2c Added support for clang 2023-10-09 21:08:05 +02:00
Patrick Urbanke 21803f509e Added support for std::unique_ptr and rfl::Box 2023-10-07 12:23:48 +02:00
Patrick Urbanke 9a10b2f55e Added code and first tests 2023-09-30 22:02:10 +02:00