toggle menu
ktx
jvm
switch theme
search in API
json
/
ktx.json
/
fromJson
from
Json
inline
fun
<
T
>
Json
.
fromJson
(
file
:
FileHandle
)
:
T
Parse an object of type
T
from a
file
.
inline
fun
<
T
>
Json
.
fromJson
(
string
:
String
)
:
T
Parse an object of type
T
from a
string
.