MCPcopy 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
26func (d *Decoder) Decode(v any) error {
27 return d.dec.Decode(v)
28}
29
30func Unmarshal(data []byte, v any) error {
31 return NewDecoder(bytes.NewReader(data)).Decode(v)

Callers 9

getJSONFunction · 0.95
decodeCursorFunction · 0.95
newIOConnFunction · 0.95
loadConformanceTestFunction · 0.95
UnmarshalFunction · 0.80
verifyTokenFunction · 0.80

Calls

no outgoing calls