Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ JSONString
Function
JSONString
coderd/runtimeconfig/entry.go:98–104 ·
view source on GitHub ↗
(v any)
Source
from the content-addressed store, hash-verified
96
}
97
98
func
JSONString(v any) string {
99
s, err := json.Marshal(v)
100
if
err != nil {
101
return
"decode failed: "
+ err.Error()
102
}
103
return
string(s)
104
}
Callers
3
String
Method · 0.92
String
Method · 0.92
String
Method · 0.92
Calls
2
Marshal
Method · 0.45
Error
Method · 0.45
Tested by
no test coverage detected