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

I have the following classes class Animal(val name: String, val age: Int) class Zookeeper(val name: String, val age: Int, val takesCare: Array[Animal]) and I want to serialize and deserialize ```...

Scalacheck found the failing test case: ``` scala import scala.pickling.Defaults._ import scala.pickling.binary._ val bigInt0 = BigInt("-85070591730234615865843651857942052864") val bigDecimal0 = BigDecimal("2.147484E-1469790866") val map0: Map[String, Any] = Map("a" -> bigInt0, "b" ->...

unpickle-asymmetry
pickling-generator-macro

I may have missed something, but reading the docs for picking I have not seen any comments about what to do if I update the classes that define the pickled...

question

This might help somebody else as it seems like "game over" if you hit this as a library user, but it's fairly easy to work around. This example code: ```...

bug

The following code produces a compiler error ``` import scala.pickling._, scala.pickling.Defaults._ import scala.pickling.binary._ import scala.pickling.shareNothing._ class Tester { val vec = "hello world" val output = new ByteArrayOutput(1024) vec.pickleTo(output) }...

bug

The gist at https://gist.github.com/simbo1905/facb9cef0e8ceabb3715 shows a cut down version of code which causes the jvm to crash on my mac with: ``` A fatal error has been detected by the...

bug

[Following code](https://gist.github.com/densh/d8419136ad47c74b2638) is a representation of some AST that starts its branching at `Root` class. Generation of pickling for it fails to compile after minutes of full cpu utilisation with...

bug
enhancement
pickling-generator-macro

## steps Use JDK8 and `publish`. ``` $ java -version java version "1.8.0_51" Java(TM) SE Runtime Environment (build 1.8.0_51-b16) ``` Using sbt serialization 0.1.2, which uses Scala Pickling 0.10.1. ```...

bug

Given this minimal `build.sbt`: ``` lazy val proj = (project in file(".")) .settings( scalaVersion := "2.11.7", scalacOptions ++= Seq("-Ywarn-unused-import"), libraryDependencies ++= Seq( "org.scala-lang.modules" %% "scala-pickling" % "0.10.1" ) ) ```...

bug

When pickling a lot of small objects in parallel, I see a lot of contention on `internal.GRL`, especially in `functions.scala:29`.

enhancement