MCPcopy Create free account
hub / github.com/devfeel/dotweb / UnmarshalJSON

Function UnmarshalJSON

config/config_json.go:7–9  ·  view source on GitHub ↗

UnmarshalJSON parses the JSON-encoded data and stores the result in the value pointed to by v.

(content []byte, v interface{})

Source from the content-addressed store, hash-verified

5// UnmarshalJSON parses the JSON-encoded data and stores the result
6// in the value pointed to by v.
7func UnmarshalJSON(content []byte, v interface{}) error {
8 return json.Unmarshal(content, v)
9}
10
11// MarshalJSON returns the JSON encoding of v.
12func MarshalJSON(v interface{}) (out []byte, err error) {

Callers 1

parseConfigSetFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected