ValueReader

trait ValueReader[A]

Reads a value of type A that is located at a provided path in a Config.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def read(config: Config, path: String): A

Reads the value at the path path in the Config

Reads the value at the path path in the Config

Concrete methods

def map[B](f: A => B): ValueReader[B]

Turns a ValueReader[A] into a ValueReader[B] by applying the provided transformation f on the item of type A that is read from config

Turns a ValueReader[A] into a ValueReader[B] by applying the provided transformation f on the item of type A that is read from config