mapstructure
mapstructure copied to clipboard
custom post decoder
This proposal allows for custom decoding on type interface level. The main motivation to create this PR is possibility to change some values based on different decoders and does it near the decoder function to avoid necessary value parse/loops after decode.
You can see real world use cases in added tests.