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
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?
On Thursday, 17 October 2013 at 01:47:41 UTC, 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?
Check out Vibe.D
http
On Thursday, 17 October 2013 at 02:03:28 UTC, Craig Dillabaugh
wrote:
On Thursday, 17 October 2013 at 01:47:41 UTC, 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
On 17 October 2013 11:47, DDD dcb854d0b...@f98b7c56a69c.anonbox.net 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