Concise Binary Object Representation (CBOR) is a binary data serialisation
format optimised for compactness and efficiency. It is designed to encode a
wide range of data types, including integers, strings, arrays, and maps, in a
space-efficient manner.
RFC 8949 - Concise Binary Object Representation (CBOR)
spec.
Limitations
This implementation only supports the encoding and decoding of
"Text String" keys.
This implementation encodes decimal numbers with 64 bits. It takes no
effort to figure out if the decimal can be encoded with 32 or 16 bits.
When decoding, integers with a value below 2 ** 32 will be of type
number, with all larger integers being of type bigint.
Functions and classes may have more specific limitations listed.
Overview
Concise Binary Object Representation (CBOR) is a binary data serialisation format optimised for compactness and efficiency. It is designed to encode a wide range of data types, including integers, strings, arrays, and maps, in a space-efficient manner. RFC 8949 - Concise Binary Object Representation (CBOR) spec.
Limitations
Functions and classes may have more specific limitations listed.