std.jgrandson
Sean Kelly via Digitalmars-d
digitalmars-d at puremagic.com
Wed Aug 6 08:46:35 PDT 2014
On Wednesday, 6 August 2014 at 15:28:06 UTC, Daniel Murphy wrote:
> "Jacob Carlborg" wrote in message
> news:lrtf8l$22d3$1 at digitalmars.com...
>
>> BTW, why not classes? It's basically the same implementation
>> as for structs.
>
> I guess I've just never needed to do it with classes. A lot of
> the time when I use classes I use inheritance, and this simple
> translation doesn't work out so will then...
We could do something like Jackson. I wouldn't want it as the
primary interface for a JSON package, but for serializing classes
it's a pretty easy design to work with from a user perspective.
More information about the Digitalmars-d
mailing list