Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modelcontextprotocol/go-sdk
/ Decode
Method
Decode
internal/json/json.go:26–28 ·
view source on GitHub ↗
(v any)
Source
from the content-addressed store, hash-verified
24
}
25
26
func
(d *Decoder) Decode(v any) error {
27
return
d.dec.Decode(v)
28
}
29
30
func
Unmarshal(data []byte, v any) error {
31
return
NewDecoder(bytes.NewReader(data)).Decode(v)
Callers
9
getJSON
Function · 0.95
TestNewDecoderCaseSensitivity
Function · 0.95
decodeCursor
Function · 0.95
newIOConn
Function · 0.95
loadConformanceTest
Function · 0.95
handleDynamicClientRegistration
Method · 0.80
TestProtectedResourceMetadataHandler
Function · 0.80
Unmarshal
Function · 0.80
verifyToken
Function · 0.80
Calls
no outgoing calls
Tested by
4
TestNewDecoderCaseSensitivity
Function · 0.76
loadConformanceTest
Function · 0.76
handleDynamicClientRegistration
Method · 0.64
TestProtectedResourceMetadataHandler
Function · 0.64