Add Values functions AddFloat decodes the JSON value within an object or an array to a *float64. If next key value overflows float64, an InvalidUnmarshalError error will be returned.
(v *float64)
| 423 | // AddFloat decodes the JSON value within an object or an array to a *float64. |
| 424 | // If next key value overflows float64, an InvalidUnmarshalError error will be returned. |
| 425 | func (dec *Decoder) AddFloat(v *float64) error { |
| 426 | return dec.Float64(v) |
| 427 | } |
| 428 | |
| 429 | // AddFloatNull decodes the JSON value within an object or an array to a *float64. |
| 430 | // If next key value overflows float64, an InvalidUnmarshalError error will be returned. |