absperf / conbor

Simple, opinionated GPLv3 C++20 CBOR encoder and decoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

conbor

Simple, opinionated GPLv3 C++20 CBOR encoder and decoder.

Built largely around concepts, hence the name. Should be useable similarly to Rust's Serde. You can use the to_cbor and from_cbor functions to encode and decode any appropriate type, and you can define these for your own types.

Also included is a generic conbor::Value type.

This operates in exceptional and exceptionless varieties. All to_cbor and from_cbor methods natively return a conbor::Result type, and the naked non-conbor::Result variants throw an exception automatically if it's encountered.

About

Simple, opinionated GPLv3 C++20 CBOR encoder and decoder

License:GNU General Public License v3.0


Languages

Language:C++ 97.2%Language:CMake 2.8%