MCPcopy Index your code
hub / github.com/oapi-codegen/oapi-codegen / MarshalJSON

Method MarshalJSON

internal/test/any_of/param/param.gen.go:104–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102}
103
104func (t Test) MarshalJSON() ([]byte, error) {
105 b, err := t.union.MarshalJSON()
106 return b, err
107}
108
109func (t *Test) UnmarshalJSON(b []byte) error {
110 err := t.union.UnmarshalJSON(b)

Callers 2

GenerateInlinedSpecFunction · 0.45
MarshalJSONMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected