MCPcopy
hub / github.com/openai/openai-go / MarshalJSON

Method MarshalJSON

betaassistant.go:1765–1768  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1763}
1764
1765func (r FunctionToolParam) MarshalJSON() (data []byte, err error) {
1766 type shadow FunctionToolParam
1767 return param.MarshalObject(r, (*shadow)(&r))
1768}
1769func (r *FunctionToolParam) UnmarshalJSON(data []byte) error {
1770 return apijson.UnmarshalRoot(data, r)
1771}

Callers

nothing calls this directly

Calls 1

MarshalObjectFunction · 0.92

Tested by

no test coverage detected