RFC 7493, "The I-JSON Message Format", March 2015Source of RFC: json (app)
Errata ID: 6861
Publication Format(s) : TEXT
Reported By: Chris Morgan
Date Reported: 2022-02-25
Section 2.1 says:
Object member names, and string values in arrays and object members, MUST NOT include code points that identify Surrogates or Noncharacters as defined by [UNICODE].
It should say:
Object member names, and string values, MUST NOT include code points that identify Surrogates or Noncharacters as defined by [UNICODE].
The expression “string values in arrays and object members” is overly qualified, excluding cases where the *entire message* is a string value, which should clearly be covered also. So the qualification “in arrays and object members” should be removed.
RFC 7493, section 2: “An I-JSON message is a JSON text, as defined by RFC 7159.”
RFC 7159, section 2: “A JSON text is a serialized value. Note that certain previous specifications of JSON constrained a JSON text to be an object or an array. […]”
RFC 7159, section 2:
JSON-text = ws value ws
RFC 7159, section 3:
value = false / null / true / object / array / number / string