BSD Ports

devel/reflect-cpp 0.25.0 DragonFly

C++-20 library for fast serialization, deserialization and validation

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel
Package size
442.3 KiB, 2984.0 KiB installed

Description

reflect-cpp is a C++-20 library for fast serialization, deserialization and validation using reflection, similar to pydantic in Python, serde in Rust, encoding in Go or aeson in Haskell.

reflect-cpp fills an important gap in C++ development. It minimizes boilerplate code and enhances code safety for seamless and efficient data exchange across system components.

Design principles for reflect-cpp include:

  • Close integration with containers from the C++ standard library
  • Close adherence to C++ idioms
  • Out-of-the-box support for JSON
  • Simple installation
  • Simple extendability to other serialization formats
  • Simple extendability to custom classes
  • Being one of the fastest serialization libraries in existence, as demonstrated by our benchmarks

reflect-cpp is not just a reflection library, it is for serialization, deserialization and validation through reflection.

In the other systems

The newest version among them is 0.27.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/reflect-cpp0.25.0 behind since 2026-10-19none known-[email protected]-
FreeBSDdevel/reflect-cpp0.27.1 newestnone known-[email protected]2026-11-03
HardenedBSDdevel/reflect-cpp0.27.1 newestno data-[email protected]-
GhostBSDdevel/reflect-cpp0.26.2 behind since 2026-11-03no data-[email protected]-

Version history 1

  1. 0.25.0

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install reflect-cpp

From DPorts:

cd /usr/dports/devel/reflect-cpp && make install clean

Dependencies

No port depends on this one.