RFC Errata

Errata Search

Source of RFC  
Summary Table Full Records

RFC 8259, "The JavaScript Object Notation (JSON) Data Interchange Format", December 2017

Source of RFC: jsonbis (art)

Errata ID: 7307
Status: Rejected
Type: Technical
Publication Format(s) : TEXT

Reported By: Maxim Iurie
Date Reported: 2023-01-13
Rejected by: Francesca Palombini
Date Rejected: 2023-01-18

Section 3 says:

      null  = %x6e.75.6c.6c      ; null 

It should say:

      null  = %x6e.75.6c.6c      ; null without quotation marks for numeric attributes and "null" for string attributes.


It is not clear how to encode null values in JSON.
Some are encoding all attributes as "null".
Some are encoding all attributes as null without quotation marks
Some are encoding string attributes as "null" and numeric attributes as null without quotation marks.
https://json.org is mentioning "null". ECMA 262 is mentioning "null" for string and +0F for numeric attributes. However providing zero for a number instead of null is incorrect and provides wrong results (in BI).
The original specification is clear as such, and this errata would make a change that breaks the format, and is against the original intent of the text.

Report New Errata

Advanced Search