MCPcopy
hub / github.com/gin-gonic/gin / UseNumber

Method UseNumber

codec/json/api.go:44–44  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

42 // UseNumber causes the Decoder to unmarshal a number into an any as a
43 // Number instead of as a float64.
44 UseNumber()
45
46 // DisallowUnknownFields causes the Decoder to return an error when the destination
47 // is a struct and the input contains object keys which do not match any

Callers 1

decodeJSONFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected