CBOR

CBOR

[10] CBOR は、 IETF が定義したバイナリーデータ形式の一種です。

仕様書

文脈

[13] Web API などでは JSON が一般的で、 CBOR が主流になることはなさそうです。

[14] IETFプロトコルCBOR を採用することもあるかもしれません。 それ以外で使われるのか (そもそも需要がるのか) は謎です。

[16] システム内部の通信用データ形式として使いたい人はいるかもしれません。 この用途では MessagePackProtocol Buffer などと競合しそうです。

MIME型

[23] */*+cbor, */*+dag+cbor

[24] e.g. application/did+dag+cbor

応用

[17] CBOR応用

関連

[11] JSON との関係が意識されていますが、特に互換性が高いわけでもありません。

[12] MessagePack から派生したものですが、互換性があるわけでもありません。

歴史

BinaryPack

[1] ( ( 版)) http://www.tzi.de/~cabo/draft-bormann-apparea-bpack-01pre2.txt

[2] MessagePack should be developed in an open process · Issue #129 · msgpack/msgpack ( ( 版)) https://github.com/msgpack/msgpack/issues/129

[3] jcrugzz/binary-pack ( ( 版)) https://github.com/jcrugzz/binary-pack

[4] BinaryJS - Realtime binary streaming for the web using websockets ( ( 版)) http://binaryjs.com/

[5] binaryjs/js-binarypack ( ( 版)) https://github.com/binaryjs/js-binarypack

[6] draft-bormann-apparea-bpack-01 - The BinaryPack1pre2 JSON-like representation format ( ( 版)) http://tools.ietf.org/html/draft-bormann-apparea-bpack-01

CBOR

[7] CBOR — Concise Binary Object Representation | Overview ( ( 版)) http://cbor.io/

[8] RFC 7049 - Concise Binary Object Representation (CBOR) ( ( 版)) http://tools.ietf.org/html/rfc7049

[15] specs/ipld at master · ipld/specs () https://github.com/ipld/specs/tree/master/ipld#serialised-cbor-with-tags

IPLD links can be represented in CBOR using tags which are defined in RFC 7049 section 2.4.

[18] draft-bormann-cbor-time-tag-00 - Concise Binary Object Representation (CBOR) Tags for Time, Duration, and Period () https://tools.ietf.org/html/draft-bormann-cbor-time-tag-00

[19] Switch to DER-encoded ASN.1 · Issue #47 · WICG/webpackage () https://github.com/WICG/webpackage/issues/47

[20] cbor-wg/CBORbis () https://github.com/cbor-wg/CBORbis

[21] Concise Binary Object Representation (CBOR) () https://cbor-wg.github.io/CBORbis/

[22] RFP: Web Packaging Format · Issue #29 · mozilla/standards-positions () https://github.com/mozilla/standards-positions/issues/29