munich-data-engineering/reflect-cpp
View on GitHub ↗ ★ 1,968 C++
A C++20 library for fast serialization, deserialization and validation using reflection. Supports JSON, Avro, Boost Serialization, BSON, Cap'n Proto, CBOR, Cereal, Command line interfaces, CSV, Environment variables, flexbuffers, msgpack, parquet, TOML, UBJSON, XML, YAML, yas / msgpack.org[C++20]
5 mentions on Hacker News by 4 people: 1 story, 4 comments · first 2023-12-15 · latest 2025-07-02
20082026
-
…and type traits. For example, - https://www.boost.org/doc/libs/latest/doc/html/boost_pfr.htm... - https://github.com/getml/reflect-cpp And kudos for using modern C++.
comment by pjmlp · 2025-07-02 · in Show HN: A modern C++20 AI SDK (GPT‑4o, Claude 3.5, tool‑calling) -
It's too complex, and the implementation is poor[0]. [0]: https://github.com/getml/reflect-cpp/tree/main/benchmarks
comment by feverzsj · 2025-01-11 · in MessagePack: It's like JSON, but fast and small. -
…the observable side effects are the same. Example of a library that generates serialization code, https://github.com/getml/reflect-cpp As mentioned the ongoing C++26 proposal with produce the desired source code at compile time, thus…
comment by pjmlp · 2024-11-15 · in C++ template macroprogramming versus Lisp macros -
…structs to/from several formats including json and yaml without any sort of tagging or traits [1] https://github.com/getml/reflect-cpp
comment by cherryteastain · 2024-10-03 · in Code Generation in Rust vs. C++26