params/json.go
Method JSON.convert
has 54 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (json *JSON) convert(value gjson.Result, typ reflect.Type) (interface{}, bool) {
if value.Type == gjson.Null {
return nil, true
}
Method JSON.convert
has 7 return statements (exceeds 4 allowed). Open
Open
func (json *JSON) convert(value gjson.Result, typ reflect.Type) (interface{}, bool) {
if value.Type == gjson.Null {
return nil, true
}