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)
|
||||
case reflect.Interface:
|
||||
return d.compileInterface(typ)
|
||||
case reflect.Uintptr:
|
||||
return d.compileUint()
|
||||
case reflect.Int:
|
||||
return d.compileInt()
|
||||
case reflect.Int8:
|
||||
|
|
Loading…
Reference in New Issue