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

Method Int64

jsonxt/decode.go:197–199  ·  view source on GitHub ↗

Int64 returns the number as an int64.

()

Source from the content-addressed store, hash-verified

195
196// Int64 returns the number as an int64.
197func (n Number) Int64() (int64, error) {
198 return strconv.ParseInt(string(n), 10, 64)
199}
200
201// isValidNumber reports whether s is a valid JSON number literal.
202func isValidNumber(s string) bool {

Callers 5

BulkDecodeNextEntryMethod · 0.80
omitemptyFunction · 0.80
parseORIGTemplateFunction · 0.80
processTemplateValueMethod · 0.80
TestOLCEncodingRoundTripFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestOLCEncodingRoundTripFunction · 0.64