jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: [Jackrabbit Wiki] Update of "Jsop" by ThomasMueller
Date Fri, 09 Dec 2011 11:02:32 GMT
On 2011-12-09 11:09, Michael Dürig wrote:
>
>
> On 9.12.11 9:06, Apache Wiki wrote:
>> Comment:
>> Preserve order of child nodes
>>
>> '''addNodeDiff:'''
>> * + pathString: object
>>
>> + The added node may contain child nodes. The order of child node is
>> preserved, that means, when requesting the object, the child nodes
>> will appear in the same order as they appear when the node was added.
>> This only applies to child nodes however; it does not apply to the
>> order of properties. For example, an implementation may sort the
>> properties by name.
>> +
>> '''addPropertyDiff:'''
>> * + pathString: propertyValue
>
> I wouldn't specify this here since this since this would effectively
> break compatibility with the IETF JSON Patch [1]. Currently our compact
> syntax seems to nicely map to the JSON Patch syntax (when augmented with
> support for metadata and a reorder op) and vice versa. For the

In the meantime, JSON Patch has a move operation: 
<https://tools.ietf.org/html/draft-pbryan-json-patch-04#section-4.4>

 > ...

Best regards, Julian

Mime
View raw message