Pojo generation from JSon

271 views
Skip to first unread message

Antoine Sabot-Durand

unread,
Jun 3, 2012, 6:48:25 AM6/3/12
to java-...@googlegroups.com
Here's come a subject I've been thinking of since a long time.

All the SN module we wil develop will mainly deal with JSON mapping. As SN API could change without notice (no contract) it would be great to be able to generate our making pogo from JSON (like we can do it with JAXB tooling from Xsd). I didn't found such tool yet so perhaps it could be a good idea to create it ourself.

What do you think ?

Antoine SABOT-DURAND

Werner Keil

unread,
Jun 4, 2012, 9:42:36 AM6/4/12
to java-...@googlegroups.com
Sounds like a good idea. 

Bear in mind, this especially has great potential to be spawned out and contributed to the JSON-B JSR (Oracle already plans, but not for EE7 as of now), so Agorava has potential for at least 1-2 future JSRs as of now;-)

Werner

Antoine Sabot-Durand

unread,
Jun 4, 2012, 11:18:42 AM6/4/12
to java-...@googlegroups.com
Apparently the smooks project could be useful on this point : http://www.smooks.org/mediawiki/index.php?title=Smooks_v1.3_Examples

Does anybody has feed back on this tool ?

regards,

Antoine

Werner Keil

unread,
Jun 5, 2012, 6:03:13 AM6/5/12
to java-...@googlegroups.com
Not used it yet, but it looks very interesting. Even has EDI support. I came across that a few times, mostly with E-Business apps. And the work on UCUM (Units of Measurement standard embedded in various data formats like HL7, XML or EDI;-)

Regards,
Werner
Reply all
Reply to author
Forward
0 new messages