Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/wavetermdev/waveterm
/ QuickJson
Function
QuickJson
pkg/util/dbutil/dbutil.go:179–185 ·
view source on GitHub ↗
(v any)
Source
from the content-addressed store, hash-verified
177
}
178
179
func
QuickJson(v any) string {
180
if
CheckNil(v) {
181
return
"{}"
182
}
183
barr, _ := json.Marshal(v)
184
return
string(barr)
185
}
186
187
func
QuickJsonBytes(v any) []byte {
188
if
CheckNil(v) {
Callers
8
insertTEvent
Function · 0.92
updateActivityTEvent
Function · 0.92
updateWshRunTEvent
Function · 0.92
MarkTEventsAsUploaded
Function · 0.92
dbSelectOIDs
Function · 0.92
dbInsertFile
Function · 0.92
dbWriteCacheEntry
Function · 0.92
ToDBMap
Function · 0.70
Calls
1
CheckNil
Function · 0.85
Tested by
no test coverage detected