ConfigReader

machinespir.it.jig.ConfigReader
See theConfigReader companion object
trait ConfigReader[A]

Typeclass for reading an A from a ConfigValue, returning ReadResult[A].

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ConfigSumReader[A]
Show all

Members list

Value members

Abstract methods

def read(config: ConfigValue, path: List[ConfigPath]): ReadResult[A]

Concrete methods

def emap[B](f: A => Either[String, B]): ConfigReader[B]

Maps an A to a B in ReadResult fashion (no exceptions).

Maps an A to a B in ReadResult fashion (no exceptions).

Attributes