1451Re: [json] Java with JSON
- Jan 31, 2010I would recommend the one written by the master himself...
<http://www.json.org/java/index.html>It's not perfect-- but more than
adequate and satisfies all your requirements.
On Sun, Dec 20, 2009 at 6:27 AM, Fredag_d13 <jonas@...> wrote:
> Hi JSON fans
> I'm currently creating a project where I need a JSON parser in Java.
> There's no lack of Java JSON-parsers at json.org, in fact there's 18
> different implementations available. Rather than browse through the entire
> source-code of these projects, I ask you to recommend an implementation that
> suit my needs.
> My needs are the following:
> - open source (not GPL)
> - complete (no subset of JSON)
> - correctness in parsing (well-tested)
> - few files (less than 50 - it's not brain surgery)
> I would prefer that:
> - It's easy to navigate in the resulting AST. E.g. obj.get('a.b')
> - It's Java 1.4.2 compatible (but I can edit the source if it's Java 5+)
> Dont cares about:
> - Speed
> - Encoding capabilities
> I hope you will tell me about pros and cons in your favourite JSON (Java)
> BTW: I would be great if there was some sort of a comparison sheet
> available on json.org or here.
[Non-text portions of this message have been removed]
- << Previous post in topic Next post in topic >>