I think if you embed the type the `UnmarshalJSON` defined on it will work.

First try:

```go
type minimum struct {
  json.Number
}
```

And if that doesn't work, make it a pointer.

http://golang.org/doc/effective_go.html#embedding