the json.Unmarshal() function takes some JSON encoded data and a pointer to a value where the encoded JSON should be written and returns an error if something goes wrong.
func Unmarshal(data []byte, v interface{}) error