reflect-cpp

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]

A new way for AI to search for data
View on GitHub
1,964GitHub stars
860commits on main
196forks
v0.26.2latest release, 2026-10-19

C++ 87.6%, C 11.1%, CMake 1.1%, Python 0.2% · created 2023-09-27 · last push 2026-10-28

What XERJ indexed

Snapshot

1,634 files · 7.1 MB

Only .github/workflows, benchmarks/all, include/rfl/avro, include/rfl/boost_serialization, include/rfl/capnproto, include/rfl/cbor, include/rfl/cereal, include/rfl/flexbuf, include/rfl/generic, include/rfl/json, include/rfl/msgpack, include/rfl/parsing, include/rfl/toml, include/rfl/ubjson, include/rfl/y at commit 10580aa630 (2026-10-16). main is 21 commits ahead.

Selected work

“Reserve vector capacity when array lengths are known”. 30 files, 579 lines in benchmarks, tests, include.

Licence

The repository

MIT

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

MIT, with credit

The author agreed by email on 2026-10-17. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported MIT for munich-data-engineering/reflect-cpp on 2026-10-31, and the LICENSE file at commit 10580aa630 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

George Evmenov (@Altren) has 1 selected repository on the hub.

Using XERJ with reflect-cpp

The prompt

Paste it into your AI agent. It clones munich-data-engineering/reflect-cpp at the pinned commit and indexes it on your machine.

Search the GitHub repository munich-data-engineering/reflect-cpp with XERJ (https://hub.xerj.org/corpus/munich-data-engineering--reflect-cpp).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/getml/reflect-cpp reflect-cpp && git -C reflect-cpp checkout 10580aa6305d8c859fdf58f1d3974af59c84940f
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./reflect-cpp --url http://127.0.0.1:9200 --prefix reflect-cpp --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: MIT. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.