Thread overview
Serialization libs?
Jun 10, 2011
Nick Sabalausky
Jun 10, 2011
Robert Clipsham
Jun 10, 2011
David Nadlinger
Jun 16, 2011
Jacob Carlborg
June 10, 2011
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?


June 10, 2011
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/
June 10, 2011
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

June 16, 2011
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