Closed wiradikusuma closed 6 years ago
The same exception with version "rapture_2.11" % "2.0.0-M9"
I was saying that the version is "rapture_2.12" "2.0.0-M9". The version 2.0.0-M8 works properly. No error for this.
You need some completely undocumented magic:
import rapture.json.dictionaries.dynamic._
Well done for finding that, @mnd999. Sorry it was thrown in there with so little explanation. Alternatively you can define an implicit "dictionary" of labels if you want to only allow a subset of strings to be usable as accessors for JSON values.
Note that I'm no longer maintaining Rapture, but I intend to pull some of the best parts out into new projects.
The following snippet does not show any error in IntelliJ:
But when I run it from Gradle, it throws error:
What do I miss?