We've used Jackson(http://jackson.codehaus.org/), which we've found to be easy to use and
faster than any other option. We've also had problems with net.sf in terms of memory and
performance.
You can see a performance comparison here: http://www.cowtowncoder.com/blog/archives/2009/02/entry_204.html
-Ian
--- On Thu, 3/5/09, Kevin Peterson <kpeterson@biz360.com> wrote:
> From: Kevin Peterson <kpeterson@biz360.com>
> Subject: Recommend JSON Library? net.sf.json has memory leak
> To: core-user@hadoop.apache.org
> Date: Thursday, March 5, 2009, 9:48 AM
> We're using JSON serialization for all our data, but we
> can't seem to find a
> good library. We just discovered that the root cause of out
> of memory errors
> is a leak in the net.sf.json library. Can anyone out there
> recommend a java
> json library that they have actually used successfully
> within Hadoop?
|