MCPcopy 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
21func (k *Kind) MarshalJSON() ([]byte, error) {
22 return json.Marshal(k.String())
23}
24
25func (k *Kind) String() string {
26 switch *k {

Callers 1

ExportSwaggerMethod · 0.45

Calls 2

StringMethod · 0.95
MarshalMethod · 0.80

Tested by

no test coverage detected