RE: JSON serialization

From: Kuhns, John (jkuhn..imNTLS.com)
Date: Thu May 20 2010 - 14:54:31 UTC

  • Next message: Mark Fraser: "Re: Building dataview jar for use with Cayenne 3.0 (or...is ANYONE using dataviews in 3.0?)"

    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:juerge..saar.org]
    Sent: Thursday, May 20, 2010 10:38 AM
    To: use..ayenne.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 <jkuhn..imntls.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
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu May 20 2010 - 14:55:02 UTC