An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 1.7% on proxy.golang.org
Top 0.4% dependent packages on proxy.golang.org
Top 0.6% dependent repos on proxy.golang.org
Top 3.5% forks on proxy.golang.org
Top 1.6% docker downloads on proxy.golang.org

proxy.golang.org : github.com/fxamacker/cbor

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

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/fxamacker/cbor
Keywords: cbor , cbor-library , cose , cwt , go , gob-alternative , golang , json-alternative , rfc-7049 , rfc-8949 , serialization
License: MIT
Latest release: over 5 years ago
First release: almost 6 years ago
Namespace: github.com/fxamacker
Dependent packages: 186
Dependent repositories: 98
Stars: 535 on GitHub
Forks: 48 on GitHub
Docker dependents: 16
Docker downloads: 692,685,847
See more repository details: repos.ecosyste.ms
Last synced: about 19 hours ago

    Loading...
    Readme
    Loading...