Subject: [art] [Errata Rejected] RFC6902 (5239)

From: RFC Errata System <[email-masked]>
Date: Wed, 9 Dec 2020 07:42:31 -0800 (PST)

The following errata report has been rejected for RFC6902,
"JavaScript Object Notation (JSON) Patch".

--------------------------------------
You may review the report below and at:
https://www.rfc-editor.org/errata/eid5239

--------------------------------------
Status: Rejected
Type: Technical

Reported by: Grzegorz Olszewski <[email-masked]>
Date Reported: 2018-01-19
Rejected by: Barry Leiba (IESG)

Section: A.16

Original Text
-------------
An example target JSON document:

   { "foo": ["bar"] }

   A JSON Patch document:

   [
     { "op": "add", "path": "/foo/-", "value": ["abc", "def"] }
   ]

   The resulting JSON document:

   { "foo": ["bar", ["abc", "def"]] }

Corrected Text
--------------
An example target JSON document:

   { "foo": ["bar"] }

   A JSON Patch document:

   [
     { "op": "add", "path": "/foo/-", "value": ["abc", "def"] }
   ]

   The resulting JSON document:

   { "foo": ["bar", "abc", "def"] }

Notes
-----
surplus square brackets in resulting JSON document
 --VERIFIER NOTES-- 
   The example is correct as written: the value to be added to the array is itself an array, so the new element is ["abc", "def"].

--------------------------------------
RFC6902 (draft-ietf-appsawg-json-patch-10)
--------------------------------------
Title               : JavaScript Object Notation (JSON) Patch
Publication Date    : April 2013
Author(s)           : P. Bryan, Ed., M. Nottingham, Ed.
Category            : PROPOSED STANDARD
Source              : Applications Area Working Group APP
Area                : Applications
Stream              : IETF
Verifying Party     : IESG