Hacker GitHub

← All repos

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

Mentions per year 5 mentions · busiest year 2024 (2)
20082026
  1. …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++.
  2. It's too complex, and the implementation is poor[0]. [0]: https://github.com/getml/reflect-cpp/tree/main/benchmarks
  3. …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…
  4. …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
  5. ▲ 4
    Show HN: reflect-cpp – field name retrieval from structs and enums in C++-20
    story by liuzicheng1987 · 2023-12-15 · 1 comment