schema

abstract fun schema(schema: YaclaSchema<T>): ConfigLoaderBuilder<T>

Sets the schema used for validating and mapping the config data.

Parameters

schema

Implementation of YaclaSchema for type T.