The current 'kv' module stores extracted keys and values in 'dotted' notation (some.prefix.key1 = value1, some.prefix.key2 = value2, ...)
I would like to request that a variant of this request be added to the 'kv' module, where values are stored in object notation, instead
of dotted notation (e.g. [some][prefix][key1] = value1, [some][prefix][key2] = value2).
This becomes especially handy for nested keys (e.g. [some][prefix][keytop][keybottom]), so that all keys under 'keytop' can be renamed/moved en-masse to some other object.
I'm using a ruby { code => '' } block as my current workaround, but isn't as elegant.
Hello,
The current 'kv' module stores extracted keys and values in 'dotted' notation (some.prefix.key1 = value1, some.prefix.key2 = value2, ...) I would like to request that a variant of this request be added to the 'kv' module, where values are stored in object notation, instead of dotted notation (e.g. [some][prefix][key1] = value1, [some][prefix][key2] = value2).
This becomes especially handy for nested keys (e.g. [some][prefix][keytop][keybottom]), so that all keys under 'keytop' can be renamed/moved en-masse to some other object. I'm using a ruby { code => '' } block as my current workaround, but isn't as elegant.
Thanks,