2 mapstructure - decode generic map values into native Go structs

github.com godoc.org goreportcard.com posted by Donutloop 2609 days ago  

This library is most useful when decoding values from some data stream (JSON, Gob, etc.) where you don't quiteknow 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.

Register to comment or vote on this story