getml / reflect-cpp

A C++20 library for fast serialization, deserialization and validation using reflection. Supports JSON, BSON, CBOR, flexbuffers, msgpack, TOML, XML, YAML / msgpack.org[C++20]
https://getml.github.io/reflect-cpp/
MIT License
821 stars 66 forks source link

Support cap'n'proto #45

Open liuzicheng1987 opened 6 months ago

liuzicheng1987 commented 6 months ago

Cap'n'proto is a C++ binary serialization format (https://github.com/capnproto/capnproto) similar to protobuf.

It also includes a format for dynamic reflection:

https://capnproto.org/cxx.html#dynamic-reflection

We can fill this gap by implementing a reflect-cpp interface to cap'n'proto.