Simple, hassle-free, zero-boilerplate serialization in Scala/Java similar to Python's Pickle?

后端 未结 5 1231
无人共我
无人共我 2021-01-30 13:10

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 spa

5条回答
  •  花落未央
    2021-01-30 14:09

    Twitter's chill library is just awesome. It uses Kryo for serialization but is ultra simple to use. Also nice: provides a MeatLocker[X] type which makes any X a Serializable.

提交回复
热议问题