Look up the provided name in the YAML node, instead of the field name.
By default, the config filler will look up the field name of a mapping in
the YAML node. If this is not desired, an explicit Name attribute can
be given. This is especially useful for names which are keyword.
public struct Config
{
public @Name("delete") bool remove;
}
Look up the provided name in the YAML node, instead of the field name.
By default, the config filler will look up the field name of a mapping in the YAML node. If this is not desired, an explicit Name attribute can be given. This is especially useful for names which are keyword.