RFC 8949 - Concise Binary Object Representation (简洁二进制对象表示, CBOR)
Abstract (摘要)
Concise Binary Object Representation (CBOR, 简洁二进制对象表示) 是一种数据格式, 其设计目标包括极小的代码大小, 相当小的消息大小, 以及无需版本协商的可扩展性. 这些设计目标使其与早期的二进制序列化格式 (如 ASN.1 和 MessagePack) 不同.
本文档废止 RFC 7049, 提供了编辑改进, 新的细节和勘误修复, 同时保持与 RFC 7049 交换格式的完全兼容性. 它不会创建格式的新版本.
状态: Standards Track (标准轨道)
发布时间: 2020年12月
废止: RFC 7049
Contents (目录)
- 1. Introduction (简介)
- 2. CBOR Data Models (CBOR 数据模型)
- 3. Specification of the CBOR Encoding (CBOR 编码规范)
- 4. Serialization Considerations (序列化考虑)
- 5. Creating CBOR-Based Protocols (创建基于 CBOR 的协议)
- 6. Converting Data between CBOR and JSON (CBOR 与 JSON 之间的数据转换)
- 7. Future Evolution of CBOR (CBOR 的未来演进)
- 8. Diagnostic Notation (诊断记法)
- 9. IANA Considerations (IANA 考虑)
- 10. Security Considerations (安全考虑)
- 11. References (参考文献)
- Appendix A. Examples of Encoded CBOR Data Items (附录 A. 编码 CBOR 数据项示例)
- Appendix B. Jump Table for Initial Byte (附录 B. 初始字节跳转表)
- Appendix C. Pseudocode (附录 C. 伪代码)
- Appendix D. Half-Precision (附录 D. 半精度)
- Appendix E. Comparison of Other Binary Formats (附录 E. 其他二进制格式比较)
- Appendix F. Well-Formedness Errors and Examples (附录 F. 良构性错误和示例)
- Appendix G. Changes from RFC 7049 (附录 G. 与 RFC 7049 的变更)