Default

The default instance of Hocon parser.

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Decodes the given config into a value of type T using the given serializer.

Link copied to clipboard
inline fun <T> Hocon.decodeFromConfig(config: Config): T

Decodes the given config into a value of type T using a deserializer retrieved from the reified type parameter.

Link copied to clipboard

Encodes the given value into a Config using the given serializer.

Link copied to clipboard
inline fun <T> Hocon.encodeToConfig(value: T): Config

Encodes the given value of type T into a Config using a serializer retrieved from the reified type parameter.