pickling icon indicating copy to clipboard operation
pickling copied to clipboard

Fast, customizable, boilerplate-free pickling support for Scala

Results 100 pickling issues
Sort by recently updated
recently updated
newest added

Are new maintainers sought? Regardless of what the situation is, it would be good if the README were frank about it.

I'm trying to serialize an object to JSON using scala-pickling 0.10.1 and Scala 2.11, but am having a very strange issue. I've replicated a minimal example below: ```scala import org.apache.hadoop.io.compress.CompressionCodecFactory...

The following is fine: ``` scala case class X(ys: List[Int]) println(X(List(1,2,3)).pickle) case class X2345(ys: List[Int]) println(X2345(List(1,2,3)).pickle) ``` When I add this line, I get a 658-line long compile-time exception: ```...

bug

This needs to go away: ``` [warn] /data/rw/code/scala/spores/spores-pickling/src/test/scala/scala/spores/run/pickling/Pickling.scala:139: a pattern match on a refinement type is unchecked [warn] val res = s.pickle ```

Have this trait: ``` trait TestTrait1 { val createdAt = System.currentTimeMillis var finishedAt:Long = 0 def setAsFinished():Unit = finishedAt = System.currentTimeMillis override def toString = s"TestTrait[createdAt=$createdAt, finishedAt=$finishedAt]" } ``` and...

Apologies if this is a duplicate, but several searches did not turn up this problem. [Using JSON format] With this definition: case class PickleNone(test:Option[String]) this sequence works OK: val test...

- removed all the straight deprecations - added access to sun.misc.Unsafe in Util - removed in 2.12 - might be useful if anyone wants to update the library for 2.12...

Guys, could you please push 2.12 version to Maven/Sonatype repo ? Current version is "2.12.0-M3". Thanks!

enhancement

Is it possible to unpickle a pickled object without specifying the type? Example: ``` import scala.pickling.Defaults._ import scala.pickling.binary._ object TestPickling extends App { case class Person(name: String, age: Int) val...

I'm trying to pickle a more complex case class, (nested over 4 levels with Map's, List's and Case Objects based types). When using dynamic pickling the compilation fails with an...

enhancement