Next iteration on Deterministic CBOR

I have now finished the formalization of CBOR deterministic encoding:
https://cyberphone.github.io/javaapi/org/webpki/cbor/package-summary.html#deterministic-encoding

My take on the matter is similar to I-JSON (the de-facto standard for interoperable JSON), including the use of diagnostic notation as a text-based CBOR alternative while still maintaining determinism for text-binary-text "roundtrips":
https://cyberphone.github.io/javaapi/org/webpki/cbor/package-summary.html#diagnostic-notation

This combination makes CBOR suitable as a replacement for JSON by offering determinism, rich data, comment support, and binary encoding.

The specification is (deliberately) very close to Carsten Bormann's CBOR Playground:
https://cbor.me/

The only real innovation (well...), is the introduction of URLs as Object Ids:
https://cyberphone.github.io/javaapi/org/webpki/cbor/doc-files/typed-objects.html

Anders

Received on Friday, 7 April 2023 05:08:54 UTC