1 // This file contains changes that are only compatible with go 1.10 and onwards.
9 // DisallowUnknownFields configures the JSON decoder to error out if unknown
10 // fields come along, instead of dropping them by default.
11 func DisallowUnknownFields(d *json.Decoder) *json.Decoder {
12 d.DisallowUnknownFields()