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

This issue will keep track of the status of the scalajs support in the new upcoming release 0.11.x that will be ready soon. Any new issue that may appear can...

ready
scalajs

Hello, could you explain me why `pickling` is able to deserialize in incorrect type, without any errors/warning? Or I'm doing something wrong? ``` "org.scala-lang.modules" %% "scala-pickling" % "0.10.1", scalaVersion :=...

Hi, the enums are not serialized nicely. The most-specific type of the enum is not in the pickled version and the information about which value from the enumeration was pickled...

enhancement
pickling-generator-macro

Is it possible to serialize the `PicklerUnpickler` generated by `PicklerUnpickler.generate[T]`? A marco of `PicklerUnpickler` is not serializable by Java. Is this going to be supported, or even possible?

The following code: ``` import scala.pickling.{FastTypeTag, Pickler, Unpickler} import scala.pickling.binary._ import scala.pickling.Defaults._ class Serializer[T : Pickler : FastTypeTag] { def serialize(data: T): Array[Byte] = { Foo.bar(data) } } object Foo...

"method newTermName in trait Names is deprecated: Use TermName instead"

enhancement

When I want to unpickle a Map [Int, ImagePosition], where ImagePosition is a CompositePickler : ``` scala implicit object TrackedObjectModelPickler extends Pickler[TrackedObjectModel] { override def pickle(value: TrackedObjectModel)(implicit state: PickleState): Unit...

Here is the console history: ``` scala> import scala.pickling._; import scala.pickling.json._; import scala.pickling.static._; import scala.pickling.Defaults._; import scala.pickling._ import scala.pickling.json._ import scala.pickling.static._ import scala.pickling.Defaults._ scala> case class Inner(name: String, age: Int)...

We do not currently have Scala 2.10 artefact for latest snapshot. While this shouldn't require any code changes, it'd be nice to have.