On second thought, jsonschema2pojo looks more like a utility for generating java classes from an input schema rather than mapping what might be a wide variety of different activity objects and storing them in one model object. Would jackson be a better library for this?
> From: [email protected] > To: [email protected] > Subject: RE: JSON Libraries > Date: Mon, 24 Jun 2013 16:03:05 -0400 > > Were these ever added? > > > Date: Sat, 8 Jun 2013 08:25:19 -0400 > > Subject: Re: JSON Libraries > > From: [email protected] > > To: [email protected] > > > > +1 > > > > > > On Thursday, June 6, 2013, Matt Franklin wrote: > > > > > On Thursday, June 6, 2013, Steve Blackmon [W2O Digital] wrote: > > > > > > > We use Json schema files and a maven plugin called jsonschema2pojo to > > > > generate Jackson-compatible java beans. Most json schema features are > > > > supported. We use to deserialize twitter facebook and DataSift objects > > > as > > > > well as activity streams. If this approach sounds interesting to anyone > > > > I'll send you a zip of a submodule that does this. > > > > > > > > > Can you just commit it to the source tree? Maybe in a sandbox directory > > > under root? > > > > > > > > > > > > > > Steve Blackmon > > > > > > > > On Jun 6, 2013, at 3:24 PM, "Danny Sullivan" > > > > <[email protected]<javascript:;> > > > <javascript:;>> > > > > wrote: > > > > > > > > > Hey, > > > > > Assuming that activitystrea.ms JSON is parsed once it has been > > > > published, is there a preference for a Java library for parsing that > > > JSON? > > > > I noticed that dummy text is currently being inserted and returned along > > > > with a log statement printing the full text JSON. I was planning on > > > playing > > > > around with parsing what is published, so I thought I'd get some input > > > > on > > > > what libraries to use. > > > > > Thanks, > > > > > Danny > > > > > > > > > > > > > > > > CONFIDENTIALITY NOTICE: This e-mail, along with any documents, files, or > > > > attachments, may contain information that is confidential, privileged, > > > > or > > > > otherwise exempt from disclosure. If you are not the intended recipient > > > or > > > > person responsible for delivering it to the intended recipient, you are > > > > hereby notified that any disclosure, copying, printing, distribution or > > > use > > > > of any information contained in or attached to this e-mail is strictly > > > > prohibited. If you have received this e-mail in error, please > > > > immediately > > > > notify the sender and delete the original e-mail and its attachments > > > > without reading, printing, or saving in any manner. This e-mail message > > > > should not be interpreted to include a digital or electronic signature > > > that > > > > can be used to authenticate an agreement, contract or other legal > > > document, > > > > nor to reflect an intention to be bound to any legally-binding agreement > > > or > > > > contract. Your cooperation is appreciated. Thank you. > > > > > > > > > > > > > -- > > > Sent from a mobile device. Please excuse typos or brevity. > > > >
