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

Method AddFloat64Null

decode_number_float.go:445–447  ·  view source on GitHub ↗

AddFloat64Null 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. If a `null` is encountered, gojay does not change the value of the pointer.

(v **float64)

Source from the content-addressed store, hash-verified

443// If next key value overflows float64, an InvalidUnmarshalError error will be returned.
444// If a `null` is encountered, gojay does not change the value of the pointer.
445func (dec *Decoder) AddFloat64Null(v **float64) error {
446 return dec.Float64Null(v)
447}
448
449// AddFloat32 decodes the JSON value within an object or an array to a *float64.
450// If next key value overflows float64, an InvalidUnmarshalError error will be returned.

Callers 1

TestDecoderFloat64NullFunction · 0.80

Calls 1

Float64NullMethod · 0.95

Tested by 1

TestDecoderFloat64NullFunction · 0.64