Two favourite libraries: http://code.google.com/p/google-gson/
http://jackson.codehaus.org/ On 22 December 2010 21:28, Patricia Shanahan <p...@acm.org> wrote: > Patricia Shanahan wrote: > >> On 12/22/2010 1:02 PM, Dan Creswell wrote: >> > ... > > What I would say is that if I were to do such a thing I'd be tempted more >>> by >>> JSON which is often a little less verbose than XML for many things and >>> has >>> plenty of libraries for parsing etc in almost any language. And the other >>> thing I'd say is that if you're doing the work and prefer XML, you should >>> get ultimate choice. >>> >> >> I know nothing about JSON, so I can't say I have an informed preference. >> I'll take a look at it. I'm always willing to learn. >> > > I've taken a quick look, and it does seem to have the things I like about > XML, such as nested objects, in a simpler, less verbose, form. > > Can you recommend a specific Java library for generating and parsing JSON? > > Thanks, > > Patricia >