I'm working on a multiplatform game (desktop and Android) and I'm currently working on serialization. I use lift-json. It works great on desktop but on Android it's a nightmare:
By exemple, if I write
case class A(int:Int)
implicit val formats = Serialization.formats(ShortTypeHints(List(classOf[A])))
println(write(A(1)))
On desktop I would have:
{jsonClass: "A",int:1}
and on Android:
{jsonClass : "A"}
(I cannot deserialize this since it lacks it members). The reason I suspect is proguard 4.8 that the android version use.