MCPcopy Create free account
hub / github.com/francoispqt/gojay / Float64Null

Method Float64Null

decode_number_float.go:487–494  ·  view source on GitHub ↗

Float64Null 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)

Source from the content-addressed store, hash-verified

485// Float64Null decodes the JSON value within an object or an array to a *float64.
486// If next key value overflows float64, an InvalidUnmarshalError error will be returned.
487func (dec *Decoder) Float64Null(v **float64) error {
488 err := dec.decodeFloat64Null(v)
489 if err != nil {
490 return err
491 }
492 dec.called |= 1
493 return nil
494}
495
496// Float32 decodes the JSON value within an object or an array to a *float64.
497// If next key value overflows float64, an InvalidUnmarshalError error will be returned.

Callers 4

AddFloatNullMethod · 0.95
AddFloat64NullMethod · 0.95
FloatNullMethod · 0.95
SQLNullFloat64Method · 0.95

Calls 1

decodeFloat64NullMethod · 0.95

Tested by

no test coverage detected