SOJO – Simplify your Old Java Objects

Very interesting library, JSON, CSV and many way you can serialize your java objects.  (also deserialize)

i have ran the following example:

DomainObject o = new DomainObject();
o.setDescription( “my description is too big” );
o.setEmail( “hasan–AT–somewherein.net” );
o.setId( new Integer(22));
o.setName( “nhm tanveer” );
o.setPhone( “+2323blah blah” );

Serializer sr = new JsonSerializer();
System.out.println( sr.serialize( o ) );

from the SOJO document:

The intention for this project is a Java framework, that convert JavaBeans in a simplified representation. So it is easy and uniformly to handle and control the access to JavaBeans properties.

The main goal from this frameworks is, that SOJO can convert complex Java-Object graphs (with cycle detection) to a desired structure. The framework provide a “pluggable” basis to integrate different kind of conversions (also your own implementations). With this infrastructure can solve problems, where POJOs are not supported or are not the best decision.

SOJO Official Site

Advertisement

One response to “SOJO – Simplify your Old Java Objects

  1. Wow Hasan…..nice banner :) Hope new version will present us new surprises…:)

    Good Luck !!

    Regards,

    Samiha Esha :)

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

my tweets

 

November 2006
S S M T W T F
« Oct   Dec »
 123
45678910
11121314151617
18192021222324
252627282930  

Flickr Photos



@kamalapur over bridge

@kamalapur station

cox's bazaar trip oct 09

cox's bazaar trip oct 09

More Photos
Follow

Get every new post delivered to your Inbox.