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

Advertisements

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:

WordPress.com Logo

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

Google+ photo

You are commenting using your Google+ 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 )

w

Connecting to %s

my tweets

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

Flickr Photos

RSS my shared links on google reader

  • An error has occurred; the feed is probably down. Try again later.
%d bloggers like this: