MCPcopy Create free account
hub / github.com/segmentio/encoding / unexpectedEOF

Function unexpectedEOF

json/codec.go:997–999  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

995}
996
997func unexpectedEOF(b []byte) error {
998 return syntaxError(b, "unexpected end of JSON input")
999}
1000
1001var syntaxErrorMsgOffset = ^uintptr(0)
1002

Callers 9

objectKeyErrorFunction · 0.85
parseNullMethod · 0.85
parseTrueMethod · 0.85
parseFalseMethod · 0.85
parseNumberMethod · 0.85
parseStringMethod · 0.85
parseObjectMethod · 0.85
parseArrayMethod · 0.85
inputErrorMethod · 0.85

Calls 1

syntaxErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…