Open amnaredo opened 3 years ago
Already doable using http://www.lihaoyi.com/upickle-pprint/upickle/#CustomConfiguration Original Author: lihaoyi
No, this is not what I mean.
I mean something automatic, without specifying the serialization rules for each case class separately. Original Author: strelec
I suggest we introduce another annotation to the serialized case class:
@Positional
Whis way
case class A(a: Int, b: String, c: Boolean = false)
/A(12, "Some string")
could simply get serialized to[12,"Some string"]
. This would decrease the amount of information about the code that leaks to the user and would also greatly decrease the amount of data transferred. ID: 193 Original Author: strelec