On Wednesday, 6 August 2014 at 15:28:06 UTC, Daniel Murphy wrote:
"Jacob Carlborg" wrote in message news:lrtf8l$22d3$1...@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.

Reply via email to