Using json4s, what is best practice to deserialize JSON to Scala case class (without index-key)?
some.json
{
"1": {
"id": 1,
"year": 2014
},
"2": {
"id": 2,
"year": 2015
},
"3": {
"id": 3,
"year": 2016
}
}
some case class
case class Foo(id: Int, year: Int)