MCPcopy Create free account
hub / github.com/chidiwilliams/go-web-server-tips / DecodeJSON

Function DecodeJSON

server/decoder/decoder.go:12–17  ·  view source on GitHub ↗

DecodeJSON reads JSON data from reader and decodes it into the value pointed to by v.

(r io.Reader, v interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

CreateBookMethod · 0.92

Calls 2

ErrorFunction · 0.92
ErrorMethod · 0.80

Tested by

no test coverage detected