keyword as struct field

partypooper pythonproof at
Sun Feb 20 15:17:53 UTC 2022

On Sunday, 20 February 2022 at 14:00:45 UTC, Basile B. wrote:

> I have a library solution based on opDispatch + 
> __traits(getMember):

Thank you, didn't know about opDispatch, so you have taught me 
something new today.
But seems for my current need it can't be apllied (or I still 
don't understand how to).
Anyway I have found in the mir-ion docs examples that it has 
@serdeKeys and @serdeKeyOut annotations that can do exactly what 
I need, bad part it is hard to find them or any documentation 
about them.

More information about the Digitalmars-d-learn mailing list