MCPcopy Create free account
hub / github.com/pquerna/ffjson / MarshalJSON

Method MarshalJSON

tests/ff.go:992–994  ·  view source on GitHub ↗

MarshalJSON func

()

Source from the content-addressed store, hash-verified

990
991// MarshalJSON func
992func (*Ref) MarshalJSON() ([]byte, error) {
993 return []byte(`"ref"`), nil
994}
995
996// UnmarshalJSON func
997func (r *Ref) UnmarshalJSON([]byte) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected