MCPcopy Create free account
hub / github.com/blues/note / UseNumber

Method UseNumber

jsonxt/stream.go:41–41  ·  view source on GitHub ↗

UseNumber causes the Decoder to unmarshal a number into an interface{} as a Number instead of as a float64.

()

Source from the content-addressed store, hash-verified

39// UseNumber causes the Decoder to unmarshal a number into an interface{} as a
40// Number instead of as a float64.
41func (dec *Decoder) UseNumber() { dec.d.useNumber = true }
42
43// DisallowUnknownFields causes the Decoder to return an error when the destination
44// is a struct and the input contains object keys which do not match any

Callers 2

BulkDecodeNextEntryMethod · 0.95
parseORIGTemplateFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected