This commit is contained in:
nlohmann
2026-07-30 21:39:38 +00:00
parent 04c29e90c4
commit 78d3fb2a46
260 changed files with 516 additions and 517 deletions
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -6,11 +6,11 @@ References
- [CBOR Website](http://cbor.io) - the main source on CBOR
- [CBOR Playground](http://cbor.me) - an interactive webpage to translate between JSON and CBOR
- [RFC 7049](https://tools.ietf.org/html/rfc7049) - the CBOR specification
- [RFC 8949](https://www.rfc-editor.org/rfc/rfc8949.html) - the CBOR specification
## Serialization
The library uses the following mapping from JSON values types to CBOR types according to the CBOR specification ([RFC 7049](https://www.rfc-editor.org/rfc/rfc7049.html)):
The library uses the following mapping from JSON values types to CBOR types according to the CBOR specification ([RFC 8949](https://www.rfc-editor.org/rfc/rfc8949.html)):
| JSON value type | value/range | CBOR type | first byte |
| --------------- | ------------------------------------------ | --------------------------------- | ---------- |