AI SDK Kotlin
Toggle table of contents
0.3.0-beta01
common
Target filter
common
Switch theme
Search in API
Skip to content
AI SDK Kotlin
AI SDK Kotlin
/
ai.torad.aisdk
/
Output
/
JsonTree
Json
Tree
class
JsonTree
(
val
name
:
String
=
"json"
,
val
schemaDescription
:
String
?
=
null
)
:
Output
<
JsonElement
>
(
source
)
Since
0.3.0-beta01
Members
Constructors
Json
Tree
Link copied to clipboard
constructor
(
name
:
String
=
"json"
,
schemaDescription
:
String
?
=
null
)
Properties
name
Link copied to clipboard
val
name
:
String
schema
Link copied to clipboard
open
val
schema
:
JsonElement
schema
Description
Link copied to clipboard
open
override
val
schemaDescription
:
String
?
schema
Json
Link copied to clipboard
open
override
val
schemaJson
:
String
schema
Name
Link copied to clipboard
open
override
val
schemaName
:
String
Functions
decode
Link copied to clipboard
open
override
fun
decode
(
text
:
String
)
:
JsonElement
to
Response
Format
Link copied to clipboard
fun
toResponseFormat
(
)
:
ResponseFormat