Subject: [rpp] Re: Partial Updates
From: Mario Loffredo <[email-masked]>
To: [email-masked]
Cc: Robert Stepanek <[email-masked]>
Date: Thu, 23 Jul 2026 11:02:17 +0200
List-Id: "This list discusses a provisioning protocol based on RESTful principles and corresponding data representations using JSON." <rpp.ietf.org>

Hi Maarten,

my contribution to this dicusssion mirrors what Robert and I did in 
JSContact to solve the same problem:

1) Prefer maps to arrays for representing collections, and limit the use 
of arrays to cases where order is important or the elements of the 
collection are not objects (typically strings).

2) Patch the entire array rather than single elements.

Best,

Mario

Il 22/07/2026 18:55, Maarten Wullink ha scritto:
> Hi,
>
> During the rpp session here in Vienna, we presented a proposal for using an extended version of JSON Patch for partial updates in RPP.
> The extension is described by Rule 28 in draft-ietf-rpp-json-00, and is applicable only to updating arrays.
>
> we need feedback from the wg, is this the way to go? if not do you have alternate proposal?
>
> see: https://datatracker.ietf.org/doc/html/draft-ietf-rpp-json-00#name-partial
>
> -
> Maarten
>
>
>
> _______________________________________________
> rpp mailing list -- [email-masked]
> To unsubscribe send an email to [email-masked]

-- 
Dott. Mario Loffredo
Senior Technologist
Technological Unit “Digital Innovation”
Institute of Informatics and Telematics (IIT)
National Research Council (CNR)
Address: Via G. Moruzzi 1, I-56124 PISA, Italy
Phone: +39.0503153497
Web: http://www.iit.cnr.it/mario.loffredo