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

Method MarshalJSON

betaassistant.go:1853–1856  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1851}
1852
1853func (r BetaAssistantNewParams) MarshalJSON() (data []byte, err error) {
1854 type shadow BetaAssistantNewParams
1855 return param.MarshalObject(r, (*shadow)(&r))
1856}
1857func (r *BetaAssistantNewParams) UnmarshalJSON(data []byte) error {
1858 return apijson.UnmarshalRoot(data, r)
1859}

Callers

nothing calls this directly

Calls 1

MarshalObjectFunction · 0.92

Tested by

no test coverage detected