The default behavior of ConfigReaders that are implicitly derived in PureConfig is to raise a KeyNotFoundException when a required key is missing.
The default behavior of ConfigReaders that are implicitly derived in PureConfig is to raise a
KeyNotFoundException when a required key is missing. Mixing in this trait to a ConfigReader
allows customizing this behavior. When a key is missing, but the ConfigReader of the given
type extends this trait, the from method of the ConfigReader is called with null.
Trait containing ConfigReader instances for primitive types and simple classes in Java and Scala standard
libraries.
Trait containing ConfigWriter instances for primitive types and simple classes in Java and Scala standard
libraries.
Trait for objects capable of reading and writing objects of a given type from and to ConfigValues.
A wrapper for a ConfigValue providing safe navigation through the config and holding positional data for better
error handling.
A mapping between case class fields and their respective keys in the config.
A ConfigCursor pointing to a config list.
A ConfigCursor pointing to a config object.
Trait for objects capable of reading objects of a given type from ConfigValues.
Trait for objects capable of reading objects of a given type from ConfigValues.
the type of objects readable by this ConfigReader
Trait for objects capable of writing objects of a given type to ConfigValues.
Trait for objects capable of writing objects of a given type to ConfigValues.
the type of objects writable by this ConfigWriter
Useful helpers for building ConfigConvert instances and dealing with results.
A trait that can be implemented to disambiguate between the different options of a coproduct or sealed family.
A trait that can be implemented to disambiguate between the different options of a coproduct or sealed family.
the type of the coproduct or sealed family for which this hint applies
Trait extending DerivedReaders1 that contains ConfigReader instances for AnyVal.
Trait extending DerivedReaders1 that contains ConfigReader instances for AnyVal.
This trait exists to give priority to the AnyVal derivation over the generic product derivation.
Trait containing ConfigReader instances for collection, product and coproduct types.
Trait containing ConfigWriter instances for collection, product and coproduct types.
Trait containing ConfigReader instances for scala.concurrent.duration.Duration and
scala.concurrent.duration.FiniteDuration.
Trait containing ConfigWriter instances for scala.concurrent.duration.Duration and
scala.concurrent.duration.FiniteDuration.
Hint applicable to sealed families of case objects where objects are written and read as strings with their type names.
Hint applicable to sealed families of case objects where objects are written and read as strings with their type names. Trying to read or write values that are not case objects results in failure.
the type of the coproduct or sealed family for which this hint applies
Hint where the options are disambiguated by a key = "value" field inside the config.
Hint where the options are disambiguated by a key = "value" field inside the config.
This hint will cause derived ConfigConvert instance to fail to convert configs to objects if the object has a
field with the same name as the disambiguation key.
By default, the field value written is the class or coproduct option name converted to lower case. This mapping can
be changed by overriding the method fieldValue of this class.
Hint where all coproduct options are tried in order.
Hint where all coproduct options are tried in order. from will choose the first option able to deserialize
the config without errors, while to will write the config as is, with no disambiguation information.
Trait containing ConfigReader instance for Java Enums.
Trait containing instance for ConfigWriter for Java Enum.
Trait containing ConfigReader instances for java.time classes.
Trait containing ConfigWriter instances for java.time classes.
Trait containing ConfigReader instances for Java and Scala arbitrary-precision numeric types.
Trait containing ConfigWriter instances for Java and Scala arbitrary-precision numeric types.
Trait containing ConfigReader instances for primitive types.
Trait containing ConfigWriter instances for primitive types.
A trait that can be implemented to customize how case classes are read from and written to a config.
A trait that can be implemented to customize how case classes are read from and written to a config.
the type of case class for which this hint applies
Trait containing ConfigReader instances for classes related to regular expressions.
Trait containing ConfigWriter instances for classes related to regular expressions.
A simple ConfigCursor providing no extra operations.
Trait containing ConfigReader instances for Typesafe config models.
Trait containing ConfigWriter instances for Typesafe config models.
Trait containing ConfigReader instances for classes related to file system paths and URIs.
Trait containing ConfigWriter instances for classes related to file system paths and URIs.
CamelCase identifiers look like camelCase and useMorePureconfig
CamelCase identifiers look like camelCase and useMorePureconfig
https://en.wikipedia.org/wiki/Camel_case
Provides methods to create ConfigConvert instances.
Provides methods to create ConfigReader instances.
Provides methods to create ConfigWriter instances.
KebabCase identifiers look like kebab-case and use-more-pureconfig
KebabCase identifiers look like kebab-case and use-more-pureconfig
http://wiki.c2.com/?KebabCase
PascalCase identifiers look like e.g.PascalCase and UseMorePureconfig
PascalCase identifiers look like e.g.PascalCase and UseMorePureconfig
https://en.wikipedia.org/wiki/PascalCase
SnakeCase identifiers look like snake_case and use_more_pureconfig
SnakeCase identifiers look like snake_case and use_more_pureconfig
https://en.wikipedia.org/wiki/Snake_case
Load a configuration of type Config from the given Config
Load a configuration of type Config from the given Config
Load a configuration of type Config from the given file.
Load a configuration of type Config from the given file. Note that standard configuration
files are still loaded but can be overridden from the given configuration file
the base namespace from which the configuration should be load
A Success with the configuration if it is possible to create an instance of type
Config from the configuration files, else a Failure with details on why it
isn't possible
Load a configuration of type Config from the given file.
Load a configuration of type Config from the given file. Note that standard configuration
files are still loaded but can be overridden from the given configuration file
A Success with the configuration if it is possible to create an instance of type
Config from the configuration files, else a Failure with details on why it
isn't possible
Load a configuration of type Config from the standard configuration files
Load a configuration of type Config from the standard configuration files
the base namespace from which the configuration should be load
A Success with the configuration if it is possible to create an instance of type
Config from the configuration files, else a Failure with details on why it
isn't possible
Load a configuration of type Config from the standard configuration files
Load a configuration of type Config from the standard configuration files
A Success with the configuration if it is possible to create an instance of type
Config from the configuration files, else a Failure with details on why it
isn't possible
Loads files in order, allowing values in later files to backstop missing values from prior, and converts them into a Config.
Loads files in order, allowing values in later files to backstop missing values from prior, and converts them into a Config.
This is a convenience method which enables having default configuration which backstops local configuration.
Note: If an element of files references a file which doesn't exist or can't be read, it will silently be ignored.
Files ordered in decreasing priority containing part or all of a Config. Must not be empty.
the configuration
Load a configuration of type Config from the given Config
Load a configuration of type Config from the given Config
Typesafe configuration to load
the base namespace from which the configuration should be load
the configuration
Load a configuration of type Config from the given Config
Load a configuration of type Config from the given Config
Typesafe configuration to load
the configuration
Load a configuration of type Config from the given file.
Load a configuration of type Config from the given file. Note that standard configuration
files are still loaded but can be overridden from the given configuration file
the base namespace from which the configuration should be load
the configuration
Load a configuration of type Config from the given file.
Load a configuration of type Config from the given file. Note that standard configuration
files are still loaded but can be overridden from the given configuration file
the configuration
Load a configuration of type Config from the standard configuration files
Load a configuration of type Config from the standard configuration files
the base namespace from which the configuration should be load
the configuration
Load a configuration of type Config from the standard configuration files
Load a configuration of type Config from the standard configuration files
the configuration
Load a configuration of type Config from the given Config, falling back to the default configuration
Load a configuration of type Config from the given Config, falling back to the default configuration
Typesafe configuration to load
the base namespace from which the configuration should be load
A Success with the configuration if it is possible to create an instance of type
Config from the configuration files, else a Failure with details on why it
isn't possible
Load a configuration of type Config from the given Config, falling back to the default configuration
Load a configuration of type Config from the given Config, falling back to the default configuration
Typesafe configuration to load
A Success with the configuration if it is possible to create an instance of type
Config from the configuration files, else a Failure with details on why it
isn't possible
Load a configuration of type Config from the given Config, falling back to the default configuration
Load a configuration of type Config from the given Config, falling back to the default configuration
Typesafe configuration to load
the base namespace from which the configuration should be load
the configuration
Load a configuration of type Config from the given Config, falling back to the default configuration
Load a configuration of type Config from the given Config, falling back to the default configuration
Typesafe configuration to load
the configuration
Save the given configuration into a property file
Save the given configuration into a property file
The configuration to save
Where to write the configuration
Override the path if it already exists
Writes the configuration to the output stream and closes the stream
Writes the configuration to the output stream and closes the stream
The configuration to write
The stream in which the configuration should be written