Skip to content
EntityQ28455556· pop 5· linked from 58 articles

Also known as Concise Binary Object Representation

Concise Binary Object Representation (CBOR) is a binary data serialization format loosely based on JSON authored by Carsten Bormann and Paul Hoffman. Like JSON it allows the transmission of data objects that contain name–value pairs, but in a more concise manner. This increases processing and transfer speeds at the cost of human readability. It is defined in IETF .

~12 min read

Encyclopedic overview

21 sections
Contents
  • Specification of the CBOR encoding
  • Examples
  • Major type and count handling in each data item
  • CBOR data item field encoding
  • Tiny Field Encoding
  • Short Field Encoding
  • Long Field Encoding
  • Integers (types 0 and 1)
  • Strings (types 2 and 3)
  • Arrays and maps (types 4 and 5)
  • Semantic tag (type 6)
  • Special/float (type 7)
  • Semantic tag registration
  • DAG-CBOR
  • Cryptography
  • Object signing and encryption
  • Web tokens
  • See also
  • Notes
  • References
  • External links

Concise Binary Object Representation (CBOR) is a binary data serialization format loosely based on JSON authored by Carsten Bormann and Paul Hoffman. Like JSON it allows the transmission of data objects that contain name–value pairs, but in a more concise manner. This increases processing and transfer speeds at the cost of human readability. It is defined in IETF .

Amongst other uses, it is the recommended data serialization layer for the CoAP Internet of Things protocol suite and the data format on which COSE messages are based. It is also used in the Client-to-Authenticator Protocol (CTAP) within the scope of the FIDO2 project.

Excerpted from Wikipedia’s “CBOR” article, available under the CC BY-SA 4.0 licence.

Available in 5 languages

via Wikidata sitelinks · CC0