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: JSOP extension points, was: JSOP
Date Tue, 06 Dec 2011 08:25:20 GMT
On 2011-12-06 09:10, Thomas Mueller wrote:
> Hi,
>> JSON itself: if you specify that you are only interested in the property
>> "foo" in your json-based data, you will automatically skip any other
>> properties in the structure, without breaking any parsing.
> There are no extension points in the JSON syntax itself. With JSON syntax
> I mean the BNF of the JSON. The JSON syntax is strict, and that's OK.
> You are talking about the data. Sure, we could and should do that in our
> case as well. For example, we could say that the path "/:info/" should
> contain metadata information similar to the "information schema" in
> relational databases - if the given implementation supports it (meaning
> it's optional).

The difference here is that JSON and XML *are* extensible not at the 
syntax level, but the the logical level (by introducing new members / 
elements). The proposed JSOP diff format is not, because the grammar is 
optimized for the base operations.

Best regards, Julian

View raw message