Float64 is a helper to unmarshal a JSON Number.
()
| 94 | |
| 95 | // Float64 is a helper to unmarshal a JSON Number. |
| 96 | func (p *Partial) Float64() (f float64, err error) { |
| 97 | err = p.Unmarshal(&f) |
| 98 | return |
| 99 | } |
| 100 | |
| 101 | // Bool is a helper to unmarshal a JSON Boolean. |
| 102 | func (p *Partial) Bool() (b bool, err error) { |