I have defined this case class:
case class P(n: String, d: Double, c: Array[Float] )
Doing this:
val v = P("test", 58.3, Array(5.2f,5.8f))
val encoded = v.pickle
val decoded = encoded.unpickle[P]
Throws an Exception:
scala.MatchError: scala.Array[scala.Float] (of class java.lang.String)
at scala.pickling.msgpack.MsgPackPickleReader.readPrimitive(package.scala:417)