blob: 185aa0b7acc9912c0fe2a21b9b1585bdcf25060e [file] [log] [blame] [view]
# mapstructure
mapstructure is a Go library for converting generic map values to structures
and vice versa, while providing helpful error handling.
This library is most useful when decoding values from some data stream (JSON,
Gob, etc.) where you don't _quite_ know the structure of the underlying data
until you read a part of it. You can therefore read a `map[string]interface{}`
and use this library to decode it into the proper underlying native Go
structure.