String is a helper to unmarshal a JSON String.
()
| 88 | |
| 89 | // String is a helper to unmarshal a JSON String. |
| 90 | func (p *Partial) String() (s string, err error) { |
| 91 | err = p.Unmarshal(&s) |
| 92 | return |
| 93 | } |
| 94 | |
| 95 | // Float64 is a helper to unmarshal a JSON Number. |
| 96 | func (p *Partial) Float64() (f float64, err error) { |
no test coverage detected