Hi,
Bertrand Delacretaz schrieb:
> On Fri, Sep 18, 2009 at 2:52 PM, Alexander Klimetschek <[email protected]>
> wrote:
>> ...Using the original lib is better than copying it's source....
>
> In theory yes, but IIRC the original doesn't satisfy our requirement
> for respecting sort order of properties. Not sure about the details,
> I'd need to dig into our archives to provide more details.
Yes, that's the single one reason, why this issue has never been
followed up upon. We need keeping the order in the JSON objects.
Now, we could say, that in the meantime, we serialize JSON directly
using a JSONWriter instead of JSONObjects ....
But still, I am not sure, how much code still depends on this
"deviation" from standard JSON and also depend on this "implementation
detail"....
I would love to drop our refactoring but for the sake of stability, I
suggest to try to upgrade to the most recent version ensureing:
* the "keep the order fix" (meaning use LinkedHashMap for properties
instead HashMap IIRC)
* the recursion depths "fix"
Regards
Felix