Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/APIParkLab/APIPark
/ MarshalJSON
Method
MarshalJSON
model/plugin_model/type.go:21–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
}
20
21
func
(k *Kind) MarshalJSON() ([]byte, error) {
22
return
json.Marshal(k.String())
23
}
24
25
func
(k *Kind) String() string {
26
switch
*k {
Callers
1
ExportSwagger
Method · 0.45
Calls
2
String
Method · 0.95
Marshal
Method · 0.80
Tested by
no test coverage detected