diff --git a/decode.go b/decode.go index e4e56e28..973dea7b 100644 --- a/decode.go +++ b/decode.go @@ -234,7 +234,7 @@ type decoder struct { var ( mapItemType = reflect.TypeOf(MapItem{}) durationType = reflect.TypeOf(time.Duration(0)) - defaultMapType = reflect.TypeOf(map[interface{}]interface{}{}) + defaultMapType = reflect.TypeOf(map[string]interface{}{}) ifaceType = defaultMapType.Elem() timeType = reflect.TypeOf(time.Time{}) ptrTimeType = reflect.TypeOf(&time.Time{})