// UnmarshalJSON is json.Unmarshaler interface implementation
UnmarshalJSON is json.Unmarshaler interface implementation
// UnmarshalJSON is json . Unmarshaler interface implementation
func (f *Float64) UnmarshalJSON(text []byte) error {
	if bytes.Equal(jsonNull, text) {
		*f = Float64{}
		return nil
	}
	var value float64
	if err := json.Unmarshal(text, &value); err != nil {
		return err
	}
	f.set(value)
	return nil
}
func ( f * Float64 ) UnmarshalJSON ( text [ ] byte ) error { if bytes . Equal ( jsonNull , text ) { * f = Float64 { } return nil } var value float64 if err := json . Unmarshal ( text , & value ) ; err != nil { return err } f . set ( value ) return nil }
UnmarshalJSON is json.Unmarshaler interface implementation
UnmarshalJSON is json . Unmarshaler interface implementation