cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kuhns, John" <jku...@AimNTLS.com>
Subject RE: JSON serialization
Date Thu, 20 May 2010 14:54:31 GMT
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:juergen@jsaar.org] 
Sent: Thursday, May 20, 2010 10:38 AM
To: user@cayenne.apache.org
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 <jkuhns@aimntls.com>

> 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
>
>

Mime
View raw message