github.com/fxamacker/cbor (go): Package cbor provides a fuzz-tested CBOR encoder and decoder with full support for float16, Canonical CBOR, CTAP2 Canonical CBOR, and custom settings.  https://github.com/fxamacker/cbor/releases  Encoding options allow "preferred serialization" by encoding integers and floats to their smallest forms (like float16) when values fit.  Go struct tags like `cbor:"name,omitempty"` and `json:"name,omitempty"` work as expected. If both struct tags are specified then `cbor` is used.  Struct tags like "keyasint", "toarray", and "omitempty" make it easy to use very compact formats like COSE and CWT (CBOR Web Tokens) with structs.  For example, the "toarray" struct tag encodes/decodes struct fields as array elements. And "keyasint" struct tag encodes/decodes struct fields to values of maps with specified int keys.  fxamacker/cbor-fuzz provides coverage-guided fuzzing for this package.  For latest API docs, see: https://github.com/fxamacker/cbor#api
Keywords: cbor|cbor-library|cose|cwt|go|gob-alternative|golang|json-alternative|rfc-7049|rfc-8949|serialization