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]
What XERJ indexed
Snapshot
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
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
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
- Where does reflect-cpp handle “Reserve vector capacity when array lengths are known”?
- What does benchmarks do in reflect-cpp?
Inside the indexed corpus
- 1,634 files, 7.1 MB in total, about 4.5 KB per file.
- The selected commit changed 30 of those files (1.8%).
- Languages by size: C++ 87.6%, C 11.1%, CMake 1.1%, Python 0.2%.
- On GitHub since 2023-09-27, last push 2026-10-28, 860 commits on main.
- The pin is 21 commits behind main; the corpus answers from the pinned code, not the newest.
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
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
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
George EvmenovAPI design and specification corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.