MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / MarshalJSON

Method MarshalJSON

service/service_diff/type.go:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19}
20
21func (c *ChangeType) MarshalJSON() ([]byte, error) {
22 return json.Marshal(c.String())
23}
24
25const (
26 ChangeTypeNone ChangeType = iota

Callers

nothing calls this directly

Calls 2

StringMethod · 0.95
MarshalMethod · 0.80

Tested by

no test coverage detected