mapstructure
mapstructure copied to clipboard
Keep pointers and interfaces returned by hook
This change keeps pointers and interfaces returned by hook, when that pointers and interfaces must exist in multiple places in the resulting decoded value. Intended to use when hook looks up that pointers somewhere, and after decoding we need they to point same instances, when same instances returned by hook multiple times.