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

Related: #60, #263, #33, #211, #295, #301 This is a general issue for discussing pickling Java objects. Hopefully we can reach some positive path forward. ## Joda-Time isn't fixed First,...

bug
runtime-issue
unpickle-asymmetry

The following example fails to compile: ``` scala import scala.pickling._ import scala.pickling.Defaults._ case class Item(s: String) class SimpleMacroTest { def m(): Unit = { val fun = SimpleMacro.expandFun { ()...

bug

``` scala haoyi-mbp:~ haoyi$ cat build.sbt libraryDependencies += "org.scala-lang.modules" %% "scala-pickling" % "0.10.1" libraryDependencies += "com.lihaoyi" %% "upickle" % "0.2.8" scalaVersion := "2.11.6" haoyi-mbp:~ haoyi$ sbt console ... Welcome to...

enhancement

Hi, I am working on a more natural Json serialization format. I need to know if a given FastTypeTag is subclass of specific class/trait (Like scala.Seq). Is it possible to...

question

``` [info] /Users/haoyi/Dropbox (Personal)/Workspace/autowire/jvm/src/test/scala/autowire/InteropTests.scala:124: pickling.this.Unpickler.genUnpickler is not a valid implicit value for scala.pickling.Unpickler[T] because: [info] exception during macro expansion: [info] scala.ScalaReflectionException: type T is not a class [info] at scala.reflect.api.Symbols$SymbolApi$class.asClass(Symbols.scala:272)...

See #328 https://github.com/scala/pickling/pull/328#discussion_r29581739

enhancement

I'm trying to get set up working on generics (per conversation in #319), but am having issues with Eclipse/Scala IDE. It's complaining in the tests that it can't generate any...

question

I get the error: ``` Description Resource Path Location Type diverging implicit expansion for type scala.pickling.Pickler[Map[scratch.pickletest.A,Int]] starting with macro method genPickler in trait GenPicklers pickletest.scala ``` on the file ```...

question

This is a feature proposal Currently we have [TextFileOutput](https://github.com/scala/pickling/blob/v0.10.0_2.10/core/src/main/scala/pickling/FileOutput.scala) but it has some potential issues. 1. [PrintWriter](http://docs.oracle.com/javase/7/docs/api/java/io/PrintWriter.html) eats exceptions ("never throw I/O exceptions") so it's probably not recommended for anything...

enhancement

In the case below, there is a useful error message reported for `generate[A]`. But for the case `generate[C[A]]`, the error message is more or less garbage: ``` scala scala> def...

enhancement