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

Method MarshalJSON

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

Source from the content-addressed store, hash-verified

164}
165
166func (t Test2) MarshalJSON() ([]byte, error) {
167 b, err := t.union.MarshalJSON()
168 return b, err
169}
170
171func (t *Test2) UnmarshalJSON(b []byte) error {
172 err := t.union.UnmarshalJSON(b)

Callers

nothing calls this directly

Calls 1

MarshalJSONMethod · 0.45

Tested by

no test coverage detected