forked from mirror/go-json
Support decoding for uintptr type
This commit is contained in:
parent
27d0480952
commit
b3305a6306
|
@ -34,6 +34,8 @@ func (d *Decoder) compile(typ *rtype) (decoder, error) {
|
||||||
return d.compileMap(typ)
|
return d.compileMap(typ)
|
||||||
case reflect.Interface:
|
case reflect.Interface:
|
||||||
return d.compileInterface(typ)
|
return d.compileInterface(typ)
|
||||||
|
case reflect.Uintptr:
|
||||||
|
return d.compileUint()
|
||||||
case reflect.Int:
|
case reflect.Int:
|
||||||
return d.compileInt()
|
return d.compileInt()
|
||||||
case reflect.Int8:
|
case reflect.Int8:
|
||||||
|
|
Loading…
Reference in New Issue