MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / UnmarshalJSON

Method UnmarshalJSON

proto/nodeinfo.go:58–60  ·  view source on GitHub ↗

UnmarshalJSON implements the json.Unmarshaler interface.

(data []byte)

Source from the content-addressed store, hash-verified

56
57// UnmarshalJSON implements the json.Unmarshaler interface.
58func (z *AccountAddress) UnmarshalJSON(data []byte) error {
59 return ((*hash.Hash)(z)).UnmarshalJSON(data)
60}
61
62// MarshalJSON implements the json.Marshaler interface.
63func (z AccountAddress) MarshalJSON() ([]byte, error) {

Callers 1

Calls

no outgoing calls

Tested by 1