Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modelcontextprotocol/go-sdk
/ Unmarshal
Function
Unmarshal
internal/json/json.go:30–32 ·
view source on GitHub ↗
(data []byte, v any)
Source
from the content-addressed store, hash-verified
28
}
29
30
func
Unmarshal(data []byte, v any) error {
31
return
NewDecoder(bytes.NewReader(data)).Decode(v)
32
}
Callers
7
Await
Method · 0.92
urlElicitationMiddleware
Function · 0.92
validateDefaultProperty
Function · 0.92
TestUnmarshalCaseSensitivity
Function · 0.85
TestUnmarshalNullCharacter
Function · 0.85
FuzzUnmarshalKeyComparison
Function · 0.85
FuzzUnmarshalFieldIsolation
Function · 0.85
Calls
2
NewDecoder
Function · 0.85
Decode
Method · 0.80
Tested by
4
TestUnmarshalCaseSensitivity
Function · 0.68
TestUnmarshalNullCharacter
Function · 0.68
FuzzUnmarshalKeyComparison
Function · 0.68
FuzzUnmarshalFieldIsolation
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…