Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ jsonText
Function
jsonText
script/ghmock/graphqlcheck.go:469–475 ·
view source on GitHub ↗
(v any)
Source
from the content-addressed store, hash-verified
467
}
468
469
func
jsonText(v any) string {
470
data, err := json.Marshal(v)
471
if
err != nil {
472
return
fmt.Sprint(v)
473
}
474
return
string(data)
475
}
Callers
3
describeSchemaType
Function · 0.85
checkValue
Method · 0.85
fill
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected