www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Serialization libs?

reply "Nick Sabalausky" <a a.a> writes:
Are there any good D2 serialization libs out there that utilize 
introspecition (ie, don't have to manually specify all the member of each 
type), handle cyclic graphs and have flexible output?
Jun 10 2011
parent reply Robert Clipsham <robert octarineparrot.com> writes:
On 10/06/2011 08:30, Nick Sabalausky wrote:
 Are there any good D2 serialization libs out there that utilize
 introspecition (ie, don't have to manually specify all the member of each
 type), handle cyclic graphs and have flexible output?

I've never used it, and I don't know if it's any good or even does what you need, but: http://dsource.org/projects/orange/ -- Robert http://octarineparrot.com/
Jun 10 2011
next sibling parent David Nadlinger <see klickverbot.at> writes:
On 6/10/11 2:07 PM, Robert Clipsham wrote:
 On 10/06/2011 08:30, Nick Sabalausky wrote:
 Are there any good D2 serialization libs out there that utilize
 introspecition (ie, don't have to manually specify all the member of each
 type), handle cyclic graphs and have flexible output?

I've never used it, and I don't know if it's any good or even does what you need, but: http://dsource.org/projects/orange/

Another library out there is part of Fawzi's blip, although it's D1/Tango: https://github.com/fawzi/blip/tree/master/blip/serialization David
Jun 10 2011
prev sibling parent Jacob Carlborg <doob me.com> writes:
On 2011-06-10 14:07, Robert Clipsham wrote:
 On 10/06/2011 08:30, Nick Sabalausky wrote:
 Are there any good D2 serialization libs out there that utilize
 introspecition (ie, don't have to manually specify all the member of each
 type), handle cyclic graphs and have flexible output?

I've never used it, and I don't know if it's any good or even does what you need, but: http://dsource.org/projects/orange/

Don't know if it works with the current DMD. I'm also in the middle of a complete rewrite of the library. But version 0.0.1 should at least work with some version of DMD. -- /Jacob Carlborg
Jun 16 2011