RFC 6902 - JavaScript 对象表示法 (JSON) 补丁
- 状态: Proposed Standard
- 发布日期: April 2013
- Stream: IETF
- 勘误: 无勘误
目录
- 1. 引言 (Introduction)
- 2. 约定 (Conventions)
- 3. 文档结构 (Document Structure)
- 4. 操作 (Operations)
- 5. 错误处理 (Error Handling)
- 6. IANA 考虑事项 (IANA Considerations)
- 7. 安全考虑事项 (Security Considerations)
- 8. 致谢 (Acknowledgements)
- 9. 参考文献 (References)
- Appendix A. 示例 (Examples)
- A.1. 添加对象成员 (Adding an Object Member)
- A.2. 添加数组元素 (Adding an Array Element)
- A.3. 移除对象成员 (Removing an Object Member)
- A.4. 移除数组元素 (Removing an Array Element)
- A.5. 替换值 (Replacing a Value)
- A.6. 移动值 (Moving a Value)
- A.7. 移动数组元素 (Moving an Array Element)
- A.8. 测试值: 成功 (Testing a Value: Success)
- A.9. 测试值: 错误 (Testing a Value: Error)
- A.10. 添加嵌套成员对象 (Adding a Nested Member Object)
- A.11. 忽略无法识别的元素 (Ignoring Unrecognized Elements)
- A.12. 添加到不存在的目标 (Adding to a Nonexistent Target)
- A.13. 无效的 JSON Patch 文档 (Invalid JSON Patch Document)
- A.14. ~ 转义顺序 (~ Escape Ordering)
- A.15. 比较字符串和数字 (Comparing Strings and Numbers)
- A.16. 添加数组值 (Adding an Array Value)
摘要
JSON Patch 定义了一种 JSON 文档结构, 用于表达要应用到 JavaScript Object Notation (JSON) 文档的一系列操作; 它适合与 HTTP PATCH 方法一起使用. "application/json-patch+json" 媒体类型用于标识这类补丁文档.
本备忘录状态
本文档是 Internet Standards Track 文档.
本文档是 Internet Engineering Task Force (IETF) 的产物. 它代表了 IETF 社区的共识. 它已经过公开审查, 并已获 Internet Engineering Steering Group (IESG) 批准发布. 有关 Internet Standards 的更多信息可见 RFC 5741 的 Section 2.
关于本文档的当前状态, 任何勘误以及如何提供反馈的信息, 可从 http://www.rfc-editor.org/info/rfc6902 获取.
版权声明
Copyright (c) 2013 IETF Trust and the persons identified as the document authors. All rights reserved.
本文档受 BCP 78 以及本文档发布当日有效的 IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) 约束. 请仔细阅读这些文档, 因为它们描述了你对本文档享有的权利和受到的限制. 从本文档提取的 Code Components 必须包含 Trust Legal Provisions 的 Section 4.e 所述 Simplified BSD License 文本, 并且按 Simplified BSD License 所述不提供担保.
作者地址
Paul C. Bryan (editor) Salesforce.com
Mark Nottingham (editor) Akamai
相关资源
- 官方文本:
https://www.rfc-editor.org/rfc/rfc6902.txt - 官方页面:
https://datatracker.ietf.org/doc/html/rfc6902
发布日期 (Publication Date): April 2013 类别 (Category): Standards Track ISSN: 2070-1721