- https://wasser.liebechaos.org/ - Convert CBOR to JSON to inspect it and validate it via CDDL schema
- https://cbor.me/ - Insert hex-encoded CBOR data in the right area to get the diagnostic output in the left or vice versa
- https://cbor.nemo157.com/ - Similar page with nicer UI
- https://cddl.anweiss.tech/ - Check your CDDL format
- Useful tool to convert hex-encoded CBOR into binary data: https://github.com/nsmryan/hew via
hew -i hex-cbor.cbor -o cbor.bin -m bin
- Install via
gem install cddl
- Run via
cddl ./spec.cddl validate ./test.cbor
(only works when CBOR is represented in binary format, usehew
above) cddl ./spec.cddl generate <n>
generate test data based on schema,same for JSON:cddl ./spec.cddl json-generate <n>
- Install via
gem install cbor-diag
- Run via
cddl validate [FLAGS] --cddl <CDDL> [FILE]...