RFC 8259 - The JavaScript Object Notation (JSON) Data Interchange Format
Internet Engineering Task Force (IETF)
Request for Comments: 8259
STD: 90
Obsoletes: 7159
Category: Standards Track
Author:
T. Bray (Textuality)
Publication Date: December 2017
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 7841.
Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at https://www.rfc-editor.org/info/rfc8259.
Abstract
JavaScript Object Notation (JSON) is a lightweight, text-based, language-independent data interchange format. It was derived from the ECMAScript Programming Language Standard. JSON defines a small set of formatting rules for the portable representation of structured data.
This document removes inconsistencies with other specifications of JSON, repairs specification errors, and offers experience-based interoperability guidance.
Table of Contents
- 1. Introduction
- 1.1. Conventions Used in This Document
- 1.2. Specifications of JSON
- 1.3. Introduction to This Revision
- 2. JSON Grammar
- 3. Values
- 4. Objects
- 5. Arrays
- 6. Numbers
- 7. Strings
- 8. String and Character Issues
- 8.1. Character Encoding
- 8.2. Unicode Characters
- 8.3. String Comparison
- 9. Parsers
- 10. Generators
- 11. IANA Considerations
- 12. Security Considerations
- 13. Examples
- 14. References
- 14.1. Normative References
- 14.2. Informative References
- Author's Address
Copyright Notice
Copyright (c) 2017 IETF Trust and the persons identified as the document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.