[art] [Errata Rejected] RFC6902 (5239)

RFC Errata System <rfc-editor@rfc-editor.org> Wed, 09 December 2020 15:42 UTC

Return-Path: <wwwrun@rfc-editor.org>
X-Original-To: art@ietfa.amsl.com
Delivered-To: art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 083793A0E1B; Wed, 9 Dec 2020 07:42:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wCl3R5rybYXx; Wed, 9 Dec 2020 07:42:41 -0800 (PST)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B234B3A0E12; Wed, 9 Dec 2020 07:42:41 -0800 (PST)
Received: by rfc-editor.org (Postfix, from userid 30) id 513BCF40726; Wed, 9 Dec 2020 07:42:31 -0800 (PST)
To: grzesiek.olszewski@orange.com, pbryan@anode.ca, mnot@mnot.net
X-PHP-Originating-Script: 30:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: barryleiba@computer.org, iesg@ietf.org, art@ietf.org, rfc-editor@rfc-editor.org
Content-Type: text/plain; charset="UTF-8"
Message-Id: <20201209154231.513BCF40726@rfc-editor.org>
Date: Wed, 09 Dec 2020 07:42:31 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/Xha9Tuh8Yz_ZXy0vOwhbJZw5umA>
Subject: [art] [Errata Rejected] RFC6902 (5239)
X-BeenThere: art@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Applications and Real-Time Area Discussion <art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/art>, <mailto:art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/art/>
List-Post: <mailto:art@ietf.org>
List-Help: <mailto:art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/art>, <mailto:art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Dec 2020 15:42:43 -0000

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 <grzesiek.olszewski@orange.com>
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