Yacla
object Yacla
Yacla - Yet Another Config Loading API
Entry point to create and configure loaders that map configuration files into Kotlin or Java objects, with support for validation, logging, and auto-update.
Functions
Link copied to clipboard
Creates a configuration loader for the specified type using Kotlin's reified generics.
Creates a configuration loader for the specified class.
inline fun <T : Any> LoaderScope.loader(noinline block: ConfigLoaderBuilder<T>.() -> Unit): ConfigLoader<T>
Creates a config loader for the specified class within a LoaderScope, applying shared defaults.
fun <T : Any> loader(clazz: Class<T>, builder: ConfigLoaderBuilder<T>.() -> Unit): ConfigLoaderBuilder<T>
Creates and configures a loader in a DSL-style block.
Link copied to clipboard
Creates a functional scope for defining multiple loaders with common defaults, for use in Java.
Creates a DSL scope that applies the provided default settings to all loaders defined inside.