Attempted to execute this example snippet from http://rapture.io/jsonSupport
val fruits = Json.parse("""[
{
"name": "Bushkin",
"kind": "pumpkin",
"sweet": false
},
{
"name": "Braeburn",
"kind": "apple",
"sweet": true
}
]""").get[List[Json]]
and receiving the following errors:
console>:17: error: method selectDynamic: (key: String)rapture.json.Json does not take type parameters.
error after rewriting to rapture.json.Json.parseString(rapture.json.jsonParsers.scalaJson.package.scalaJsonParser, rapture.core.strategy.throwExceptions).selectDynamicList[Json]
possible cause: maybe a wrong Dynamic method signature?
val fruits = Json.parse("""[
Again, am I missing anything here?
Attempted to execute this example snippet from http://rapture.io/jsonSupport