Hi all,

After considering the situation, there is one point inside our
refactored JSONObject implementation, which may not be easily resolved
using the default library from json.org or the maven repository: Our
JSONObject is modified to use a LinkedHashMap internally instead of a
plain HashMap in order to guarantee the order amongst the properties of
JSONObject's.

Unfortunately, the maintainer of the org.json library is no willing to
change his reference implementation. So we would either have to try to
cope with the "change to standard behaviour" or maintain a modified
version anyway.

All in all, I think, that we should probably stay with the current
refactored JSON library and forget about this all.

WDYT ?

Regards
Felix

Am Montag, den 26.05.2008, 16:24 +0200 schrieb Felix Meschberger:
> Hi all,
> 
> While preparing the release of the Apache Felix Web Console, I realized
> that the org.json library is now available from the central Maven 2
> repository - when we started the Sling project this was not the case
> yet, thus we have the library refactored into the
> org.apache.sling.commons.json package.
> 
> Now that an "official" library is available from the central Maven
> repository, I think we should drop our refactored library and instead
> refer to the official one. For us this means, we don't have to manage
> this library ourselves and do not have non-ASL sources in our SVN repo.
> We can really use this library as a third party library as is correct.
> 
> WDYT ? Do you know of any patches we applied to our refactored library
> not contained in the official download ?
> 
> Regards
> Felix

Reply via email to