{
  "slug": "cbor",
  "term": "Concise Binary Object Representation",
  "aliases": [
    "CBOR",
    "RFC 8949"
  ],
  "definition": "CBOR is an extensible binary serialization format for structured values, including native byte strings, arrays, maps and tagged data.",
  "note": "Model: CBOR builds on JSON-like structured values but represents binary data directly and uses tags for additional interpretation. A schema is not required to decode the basic representation. [cbor-overview]\n\nEncoding: Preferred serialization alone is not deterministic. Core deterministic encoding forbids indefinite lengths and sorts encoded map keys bytewise; length-first ordering is a different profile. Numeric and tag choices also require agreement. [cbor-rfc]\n\nValidity: Byte strings and text strings differ. Duplicate map keys are invalid, while host-language equality may collapse distinct keys. Generic string equality does not normalize Unicode. [cbor-rfc]\n\nStorage: Preserve the encoding profile with a content-addressed manifest. A decoder accepting bytes does not establish the application's identity or freshness requirements. This is an engineering inference, not a durability guarantee. [cbor-example]",
  "related": [
    "data-serialization",
    "json-canonicalization-scheme"
  ],
  "citations": [
    {
      "id": "cbor-overview",
      "title": "CBOR project overview: binary data, structured values and tags",
      "url": "https://cbor.io/",
      "accessed": "2026-11-21"
    },
    {
      "id": "cbor-rfc",
      "title": "RFC 8949: sections 4.1-4.2.3, 5.3 and 5.6.1",
      "url": "https://www.rfc-editor.org/rfc/rfc8949.html",
      "accessed": "2026-11-21"
    },
    {
      "id": "cbor-example",
      "title": "Hesela: CBOR encoding profiles before content hashing",
      "url": "https://hesela.com/analyses/checksums-identity-and-lost-writes/#cbor-profiles",
      "accessed": "2026-11-21"
    }
  ],
  "status": "unknown",
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-21",
  "provenance": [
    "Primary-source synthesis; selected map-ordering examples are not a complete encoder, conformance suite or storage benchmark."
  ]
}
