Simple, hassle-free, zero-boilerplate serialization in Scala/Java similar to Python's Pickle?
问题 Is there a simple, hassle-free approach to serialization in Scala/Java that's similar to Python's pickle? Pickle is a dead-simple solution that's reasonably efficient in space and time (i.e. not abysmal) but doesn't care about cross-language accessibility, versioning, etc. and allows for optional customization. What I'm aware of: Java's built-in serialization is infamously slow ([1], [2]), bloated, and fragile. Also have to mark classes as Serializable---annoying when there are things that