On 2013-10-17 03:47, DDD wrote:
Does D have any reflection/introspection?

I'd like to do something like this

class Contact
{
string first, last
int number
}

contact = json_deserialized!Contact(json_string);

Is something like that possible?

If you need something more advanced you can try Orange:

https://github.com/jacob-carlborg/orange

Soon (hopefully) to be integrated to Phobos as std.serialization.

--
/Jacob Carlborg

Reply via email to