- From: Hodges, Jeff <jeff.hodges@paypal.com>
- Date: Mon, 13 Feb 2017 18:35:23 +0000
- To: W3C WebAuthn WG <public-webauthn@w3.org>
from https://tools.ietf.org/html/draft-greevenbosch-appsawg-cbor-cddl-09 Appendix F. The CDDL tool A rough CDDL tool is available. For CDDL specifications that do not use recursion, it can check the syntax, generate one or more instances (expressed in CBOR diagnostic notation or in pretty-printed JSON), and validate an existing instance against the specification: Usage: cddl spec.cddl generate [n] cddl spec.cddl json-generate [n] cddl spec.cddl validate instance.cbor cddl spec.cddl validate instance.json Figure 17: CDDL tool usage Install on a system with a modern Ruby via: gem install cddl Figure 18 The accompanying CBOR diagnostic tools (which are automatically installed by the above) are described in https://github.com/cabo/ cbor-diag ; they can be used to convert between binary CBOR, a pretty-printed form of that, CBOR diagnostic notation, JSON, and YAML.
Received on Monday, 13 February 2017 18:35:59 UTC