Re: Dependency on json-simple in oak-core

2014-03-11 Thread Thomas Mueller
Hi, > the JSON support doesn't appear to support data types... >(JsonObject.getProperties returns a String/String map). Yes, if you need data types, then json.org sounds good to me. But please note the JSON data types are not "good enough" to encode JCR and Oak properties. For example PropertyTyp

Re: Dependency on json-simple in oak-core

2014-03-10 Thread Chetan Mehrotra
Looking at its widespread usage I think its correct and maintained. So +1 for json.org Chetan Mehrotra On Mon, Mar 10, 2014 at 6:47 PM, Julian Reschke wrote: > On 2014-03-10 13:58, Chetan Mehrotra wrote: >>> >>> and org.apache.jackrabbit.oak.commons.json does not only seem to >>> introduce a "JS

Re: Dependency on json-simple in oak-core

2014-03-10 Thread Julian Reschke
On 2014-03-10 13:58, Chetan Mehrotra wrote: and org.apache.jackrabbit.oak.commons.json does not only seem to introduce a "JSOP" dependency (aren't we getting rid of that?), but also the JSON support doesn't appear to support data types... (JsonObject.getProperties returns a String/String map).

Re: Dependency on json-simple in oak-core

2014-03-10 Thread Chetan Mehrotra
> and org.apache.jackrabbit.oak.commons.json does not only seem to introduce a > "JSOP" dependency (aren't we getting rid of that?), but also the JSON support > doesn't appear to support data types... (JsonObject.getProperties returns a > String/String map). In that case can we use the JSON lib

Re: Dependency on json-simple in oak-core

2014-03-10 Thread Julian Reschke
On 2014-03-10 10:59, Chetan Mehrotra wrote: Thanks Julian. Created OAK-1521 to track this I have looked at this, and org.apache.jackrabbit.oak.commons.json does not only seem to introduce a "JSOP" dependency (aren't we getting rid of that?), but also the JSON support doesn't appear to support

Re: Dependency on json-simple in oak-core

2014-03-10 Thread Chetan Mehrotra
Thanks Julian. Created OAK-1521 to track this Chetan Mehrotra On Mon, Mar 10, 2014 at 1:07 PM, Julian Reschke wrote: > On 2014-03-10 05:06, Chetan Mehrotra wrote: >> >> Currently oak-core has a dependency on >> com.googlecode.json-simple:json-simple:1.1.1 jar. Looking at compile >> time usage I

Re: Dependency on json-simple in oak-core

2014-03-10 Thread Julian Reschke
On 2014-03-10 05:06, Chetan Mehrotra wrote: Currently oak-core has a dependency on com.googlecode.json-simple:json-simple:1.1.1 jar. Looking at compile time usage I see it being referred only from RDBDocumentStore Would it be possible to use classes from 'org.apache.jackrabbit.oak.commons.json'

Dependency on json-simple in oak-core

2014-03-09 Thread Chetan Mehrotra
Currently oak-core has a dependency on com.googlecode.json-simple:json-simple:1.1.1 jar. Looking at compile time usage I see it being referred only from RDBDocumentStore Would it be possible to use classes from 'org.apache.jackrabbit.oak.commons.json' package and remove the required dependency on