RFC Errata


Errata Search

 
Source of RFC  
Summary Table Full Records

RFC 6901, "JavaScript Object Notation (JSON) Pointer", April 2013

Source of RFC: appsawg (app)

Errata ID: 5745
Status: Reported
Type: Editorial
Publication Format(s) : TEXT

Reported By: Sven Willenbücher
Date Reported: 2019-06-04

Section 5 says:

The following JSON strings evaluate to the accompanying values:

    "/i\\j"      5
    "/k\"l"      6

It should say:

The following JSON strings evaluate to the accompanying values:

    /i\j      5
    /k"l      6

Notes:

In JSON itself some special characters like the backslash and the double quote character can be escaped using a backslash. A similar escaping was not described for JSON pointers. Therefore it is not clear to me why such an escaping is needed in JSON pointers too. Maybe the additional double quotes around the example JSON pointers enforce this. In the corrected text I have stated my view on this.

Report New Errata



Advanced Search