Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
43
func
(oref ORef) MarshalJSON() ([]byte, error) {
44
return
json.Marshal(oref.String())
45
}
46
47
func
(oref ORef) IsEmpty() bool {
48
// either being empty is not valid
Callers
nothing calls this directly
Calls
1
String
Method · 0.95
Tested by
no test coverage detected