Registry / config / pureconfig-generic-2-13

pureconfig-generic-2-13

JSON →
library0.17.10javamavenunverified

Scala library for loading configuration files into case classes using generic derivation, for Scala 2.13.

<dependency> <groupId>com.github.pureconfig</groupId> <artifactId>pureconfig-generic_2.13</artifactId> <version>0.17.10</version> </dependency>
INSTALL
IMPORT
SIG · PURECONFIG-GENERIC
P
pureconfig-generic-2-13
configjavav0.17.10
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

auto
pureconfig.generic.auto._

Loads configuration into a case class using automatic derivation.

import pureconfig.generic.auto._ import pureconfig.ConfigSource case class AppConfig(host: String, port: Int) object Example extends App { val config = ConfigSource.default.loadOrThrow[AppConfig] println(config.host) }
Debug
Known issues
gotchaGeneric derivation may cause compile-time issues with complex sealed traits.
fix
Use explicit readers or pureconfig-coproduct for sealed families.
affects: *
Upgrade
Version history
0.17.10latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
32
Resources
pureconfig-generic-2-13 — mvn dependency:get pureconfig-generic-2-13 · libregistry