diff --git a/parser/lowercase_camel_json.go b/parser/lowercase_camel_json.go index 72715a04b..af0891de6 100644 --- a/parser/lowercase_camel_json.go +++ b/parser/lowercase_camel_json.go @@ -38,7 +38,6 @@ func (c NullBoolJSONMarshaller) MarshalJSON() ([]byte, error) { if err != nil { return nil, err } - i := bytes.Index(b, []byte("enableDefault")) return nullEnableBoolRegex.ReplaceAll(b, []byte(`"$1": false`)), nil }