Thanks for the response. I've got the relations part worked out for myself, two 
int values, parentLevels and childrenLevels, restrict how far to go up/down the 
relationships. The xml serialization is a little too verbose for me, plus I 
want to use JSON in the browser.

-----Original Message-----
From: Juergen Saar [mailto:[email protected]] 
Sent: Thursday, May 20, 2010 10:38 AM
To: [email protected]
Subject: Re: JSON serialization

Years ago we implermented a serialization into xml ... if not only
attributes, but also relations are serialized, you run into deep trouble ...
we stopped this experiment ...

2010/5/20 Kuhns, John <[email protected]>

> I am looking for the best method of serializing/de-serializing
> CayenneDataObjects as JSON. I've written my own class for now, but am
> interested in hearing about a good method to use either XStream, Jackson or
> some other library.
>
> John Kuhns
>
>

Reply via email to