Does D have reflection?

dnspies dspies at ualberta.ca
Sat Apr 5 19:25:30 PDT 2014


Is there a way to obtain field and method names (as strings) or 
assign to fields (of structs or classes) if the string is a name 
which is only known at runtime?

For instance, could I write a generic function to reconstruct any 
object of any type from a JSON object?


More information about the Digitalmars-d-learn mailing list