Add cbort library for CBOR serialization of jsont codecs
Cbort directly serializes jsont codecs to/from CBOR (RFC 8949) by walking
the Repr.t GADT, similar to how jsont_bytesrw does for JSON. This enables
using the same codec definition for both JSON and CBOR serialization.
Data model mapping:
- JSON null → CBOR simple value 22
- JSON bool → CBOR simple values 20/21
- JSON number → CBOR int (types 0/1) or float (type 7)
- JSON string → CBOR text string (type 3)
- JSON array → CBOR array (type 4)
- JSON object → CBOR map with text keys (type 5)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>