Registry / serialization / reflectcpp

reflectcpp

JSON →
library0.24.0vcpkgunverified

A C++ library for serialization and deserialization using reflection, supporting JSON, Avro, BSON, Cap'n Proto, CBOR, CSV, flexbuffers, msgpack, parquet, TOML, UBJSON, XML, and YAML.

vcpkg install reflectcpp
INSTALL
IMPORT
SIG · REFLECTCPP
R
reflectcpp
serializationcppv0.24.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

reflectcpp/reflectcpp.hpp
#include <reflectcpp/reflectcpp.hpp>

Serializes a struct to JSON using reflection.

#include <reflectcpp/reflectcpp.hpp> #include <iostream> struct Point { double x, y; }; REFLECT(Point, x, y) int main() { Point p{1.0, 2.0}; std::string json = reflectcpp::json::serialize(p); std::cout << json << "\n"; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.24.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

reflectcpp — pip install reflectcpp · libregistry