toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.core
/
Parameters
/
Companion
/
buildJsonObject
build
Json
Object
fun
buildJsonObject
(
block
:
JsonObjectBuilder
.
(
)
->
Unit
)
:
Parameters
Creates a
Parameters
instance using a
JsonObjectBuilder
.
Parameters
block
The
JsonObjectBuilder
to use.