We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This simple example fails to parse:
import com.typesafe.config.ConfigFactory import io.circe.config.syntax._ import io.circe.generic.auto._ import cats.implicits._ object bug extends App { val config = ConfigFactory.parseString("asd: [{k: 1},{k: 2},{k: 3}]") case class f(k: Int) println( config.as[List[f]]("asd") ) }
This outputs: Left(io.circe.ParsingFailure: String: 1: asd has type LIST rather than OBJECT)
Left(io.circe.ParsingFailure: String: 1: asd has type LIST rather than OBJECT)
I suppose the problem arises from that the lib expects a config object rather than anything else.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This simple example fails to parse:
This outputs:
Left(io.circe.ParsingFailure: String: 1: asd has type LIST rather than OBJECT)
I suppose the problem arises from that the lib expects a config object rather than anything else.
The text was updated successfully, but these errors were encountered: