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

Method MarshalJSON

betaassistant.go:1656–1659  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1654}
1655
1656func (r FileSearchToolParam) MarshalJSON() (data []byte, err error) {
1657 type shadow FileSearchToolParam
1658 return param.MarshalObject(r, (*shadow)(&r))
1659}
1660func (r *FileSearchToolParam) UnmarshalJSON(data []byte) error {
1661 return apijson.UnmarshalRoot(data, r)
1662}

Callers

nothing calls this directly

Calls 1

MarshalObjectFunction · 0.92

Tested by

no test coverage detected