diff --git a/README.md b/README.md index 2c357f8..aa8b80e 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ Out of the box, Ficus can read most types from config: * Collections (`List[A]`, `Set[A]`, `Map[String, A]`, `Array[A]`, etc. All types with a CanBuildFrom instance are supported) * `Config` and `ConfigValue` (Typesafe config/value) * `FiniteDuration` +* `BigDecimal` and `BigInt` * Most arbitrary classes (as well as traits that have an apply method for instantiation). See [Arbitrary type support](#arbitrary-type-support) In this context, `A` means any type for which a `ValueReader` is already defined. For example, `Option[String]` is supported out of the box because `String` is. If you want to be able to extract an `Option[Foo[A]]` for some some type `Foo` that doesn't meet the supported type requirements (for example, this `Foo` has a type parameter), the option part is taken care of, but you will need to provide the implementation for extracting a `Foo[A]` from config. See [Custom extraction](#custom-extraction). diff --git a/src/main/scala/net/ceedubs/ficus/readers/AnyValReaders.scala b/src/main/scala/net/ceedubs/ficus/readers/AnyValReaders.scala index 03e6d3b..304333e 100644 --- a/src/main/scala/net/ceedubs/ficus/readers/AnyValReaders.scala +++ b/src/main/scala/net/ceedubs/ficus/readers/AnyValReaders.scala @@ -1,6 +1,6 @@ package net.ceedubs.ficus.readers -import com.typesafe.config.{ConfigException, Config} +import com.typesafe.config.Config trait AnyValReaders { implicit val booleanValueReader: ValueReader[Boolean] = new ValueReader[Boolean] {