Subject: [Cbor] Fwd: [cbor-wg/cddl] Describe how to use CDDL with JSON (#1)

From: Carsten Bormann <[email-masked]>
Date: Sat, 25 Mar 2017 11:49:23 -0500

I have started collecting issues with the CDDL spec that people here at IETF98 bring up.
You may want to “watch” the repo

	https://github.com/cbor-wg/cddl <https://github.com/cbor-wg/cddl>

If you want to learn about the editorial ones.

I’m not sure what the chairs will tell us about the github procedures for this WG, but for now I’ll assume we want to have technical discussion of the CDDL spec on the [email-masked] <mailto:[email-masked]> mailing list as well.

Grüße, Carsten

> Begin forwarded message:
> 
> From: cabo <[email-masked] <mailto:[email-masked]>>
> Subject: [cbor-wg/cddl] Describe how to use CDDL with JSON (#1)
> Date: 25 March 2017 at 11:43:18 -0500
> To: cbor-wg/cddl <[email-masked] <mailto:[email-masked]>>
> Cc: Subscribed <[email-masked] <mailto:[email-masked]>>
> Reply-To: cbor-wg/cddl <reply+00f4be62b18a46dc2858[email-masked] <mailto:reply+00f4be62b18a46dc2858[email-masked]>>
> 
> Today, the spec is written for CBOR, and just implies that CDDL can also be used with JSON.
> Since that is happening <https://tools.ietf.org/html/rfc8007#appendix-A>, add an appendix that makes the information explicit which parts of CDDL remain unused with JSON.
> 
> Initial attempt of a list:
> 
> CBOR tags
> byte-string constants (h'beef' etc.)
> prelude elements that based on major types #2 and #6 (bstr/bytes, all the tags from tdate to cbor-any)
> When mapping the JSON data model (which is not distinguishing integer from floating-point numbers) to that of CBOR, numbers with a zero fractional part become integers. Details of this may also need some additional information. Probably also point to I-JSON (RFC7493).
> 
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub <https://github.com/cbor-wg/cddl/issues/1>, or mute the thread <https://github.com/notifications/unsubscribe-auth/APS-YmgPtlpp-7089bTsrkuCv_M0lNe3ks5rpUQmgaJpZM4MpIhE>.
> 
>  <https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png> <https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png> <https://github.com/cbor-wg/cddl> <https://github.com/cbor-wg/cddl/issues/1>