fix parsing non-string slice values
- only string were parsed using wrapped json - now we also keep primitive types
This commit is contained in:
parent
313b91bb7f
commit
4cb62ea122
|
@ -79,7 +79,7 @@ func parseParameter(data interface{}) (interface{}, error) {
|
|||
|
||||
// ignore non-string
|
||||
if element.Kind() != reflect.String {
|
||||
result[i] = nil
|
||||
result[i] = element.Interface()
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue