MCPcopy Index your code
hub / github.com/a8m/djson / Decode

Function Decode

interface.go:81–91  ·  view source on GitHub ↗

Decode parses the JSON-encoded data and returns an interface value. The interface value could be one of these: bool, for JSON booleans float64, for JSON numbers string, for JSON strings []interface{}, for JSON arrays map[string]interface{}, for JSON objects nil for JSON null Note that the De

(data []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

TestDecodeFunction · 0.85
TestWithStdDecoderFunction · 0.85
TestTypeFunction · 0.85

Calls 4

anyMethod · 0.95
skipSpacesMethod · 0.95
errorMethod · 0.95
NewDecoderFunction · 0.85

Tested by 3

TestDecodeFunction · 0.68
TestWithStdDecoderFunction · 0.68
TestTypeFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…