Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
kotlinx-serialization
1.8.0-RC
jvm
switch theme
search in API
kotlinx-serialization-hocon
/
kotlinx.serialization.hocon
/
Hocon
/
decodeFromConfig
decode
From
Config
@
ExperimentalSerializationApi
fun
<
T
>
decodeFromConfig
(
deserializer
:
DeserializationStrategy
<
T
>
,
config
:
Config
)
:
T
(
source
)
Decodes the given
config
into a value of type
T
using the given serializer.