I want native CBOR Support

Submitted by Brad Isbell

This idea is currently being discussed.

CBOR is a standardized binary structured data format, akin to JSON, with additional benefits:

CBOR was first published in RFC7049 in 2013. Some editorial improvements have been made, with the current standard published at RFC8949

The format is well supported, with implementations in most all commonly used languages: http://cbor.io/impls.html

Use cases include:

Currently, we can work around the problem by loading a CBOR JavaScript library to encode/decode. However, I believe a native implementation would have performance improvements. At a minimum, we wouldn't need to load a library.

I propose that a standard CBOR encoder/decoder be implemented, with support for all of the datatypes supported by JavaScript.

The ubiquitous availability of JSON is what made JSON a popular choice. CBOR's benefits make it better choice for most applications. If CBOR were natively available, I have no doubt that it would be used much more broadly.

Tagged
JavaScript
Votes
0
What are votes for and how are they tallied?