Move separator defaulting back into Tag.
This commit is contained in:
@@ -27,9 +27,6 @@ func JSON(r io.Reader) (ResolverFunc, error) {
|
||||
return "", nil
|
||||
}
|
||||
sep := flag.Tag.Sep
|
||||
if sep == 0 {
|
||||
sep = ','
|
||||
}
|
||||
value, err := jsonDecodeValue(sep, raw)
|
||||
if err != nil {
|
||||
return "", err
|
||||
|
||||
Reference in New Issue
Block a user