MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / MarshalJSON

Method MarshalJSON

pkg/waveobj/waveobj.go:43–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43func (oref ORef) MarshalJSON() ([]byte, error) {
44 return json.Marshal(oref.String())
45}
46
47func (oref ORef) IsEmpty() bool {
48 // either being empty is not valid

Callers

nothing calls this directly

Calls 1

StringMethod · 0.95

Tested by

no test coverage detected