Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 25E4075FF for ; Fri, 9 Dec 2011 11:52:17 +0000 (UTC) Received: (qmail 70123 invoked by uid 500); 9 Dec 2011 11:52:17 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 69968 invoked by uid 500); 9 Dec 2011 11:52:16 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 69960 invoked by uid 99); 9 Dec 2011 11:52:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2011 11:52:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of julian.reschke@gmx.de designates 213.165.64.22 as permitted sender) Received: from [213.165.64.22] (HELO mailout-de.gmx.net) (213.165.64.22) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 09 Dec 2011 11:52:09 +0000 Received: (qmail invoked by alias); 09 Dec 2011 11:51:47 -0000 Received: from p5DCCB053.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.176.83] by mail.gmx.net (mp038) with SMTP; 09 Dec 2011 12:51:47 +0100 X-Authenticated: #1915285 X-Provags-ID: V01U2FsdGVkX18z+FxnjkQzJMtI5PnlqM/IY/3ac1tQyt/EDn2Bo1 nbr9e8La2XgWba Message-ID: <4EE1F650.7030305@gmx.de> Date: Fri, 09 Dec 2011 12:51:44 +0100 From: Julian Reschke User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: dev@jackrabbit.apache.org CC: =?ISO-8859-1?Q?Michael_D=FCrig?= Subject: Re: [Jackrabbit Wiki] Update of "Jsop" by ThomasMueller References: <4EE1F1CC.8050708@apache.org> In-Reply-To: <4EE1F1CC.8050708@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 On 2011-12-09 12:32, Michael D�rig wrote: > > > On 9.12.11 11:23, Thomas Mueller wrote: >> Hi, >> >>> if this is supposed to be a generic format for use outside >>> Jackrabbit. But I'm starting to believe it's not. >> >>> *If* we want to support ordered collections, than the JSON mapping >>> should contain additional information on the sort order of the members. >>> Like this: >>> >>> {"a": {}, "b": {}, "c": {}, "{somejcrrelateduri}sortorder": [ "a", "b", >>> "c" ] } >> >> -1 that's too weird for me. Also, duplicating data is always problematic. > > What about > > {[{"a": {}}, {"b": {}}, {"c": {}}]} > > ? ;-) Cute, but will make JSON Pointers complicated - so we would trade a usable pointer notation for a more compact object representation. Best regards, Julian