Similar to encoding/json and other packages, it would be nice to use struct field tags to control the unmarshalling behavior. For example:
- Write block values (arguments of config blocks) to an arbitrary field (currently hard-coded to
Args).
- Control if and where to store
Block.Key (used to look up fields in a struct but not stored in the target).
Similar to
encoding/jsonand other packages, it would be nice to use struct field tags to control the unmarshalling behavior. For example:Args).Block.Key(used to look up fields in a struct but not stored in the target).