-
Using:
```
"org.scala-lang" %% "scala-pickling" % "0.9.1"
```
When:
```
import scala.pickling._, json._
val r1: java.lang.Byte = 13.toByte
val r2 = r1.pickle
```
Then:
```
{
"tpe": "java.lang…
-
scala version: 2.12.8
Java version: 1.8.0_112
The following code produces the issue. Unpickler is not able to read try catch statement and returns a runtime exception.
```
scala> class Superhe…
-
## steps (0.10.0)
``` scala
scala-pickling> console
[info] Starting scala interpreter...
[info]
Welcome to Scala version 2.11.4 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_51).
Type in expression…
-
## steps (0.10.0)
``` scala
scala> import scala.pickling._, Defaults._, json._
import scala.pickling._
import Defaults._
import json._
scala> class ProcessID(val id: Short) extends AnyVal
defined cl…
-
What about moving from scala-js-pickling to prickle ( https://github.com/benhutchison/prickle )? Prickle is based on scala-js-pickling, but (unlike scala-js-pickling) is actively maintained and more c…
-
``` scala
implicitly[Pickler[(Int, List[String])]]
```
The above code snippet produces this beauty:
```
[warn] /data/rw/code/scala/spores/spores-pickling/src/test/scala/scala/spores/run/pickling/Pic…
-
I want to serialize scalameta trees
https://github.com/scalameta/example/blob/master/plugin/src/main/scala/org/scalameta/example/Example.scala#L12
``` scala
import scala.pickling._
import scala.pick…
-
The following fails to pass the pickling tests:
```scala
object Test {
type M[X] = X match { case Int => String }
def a: Any { type Out = M[Int] } = a
}
```
(minimized from #13585)
T…
-
Pickling fails to generate a pickler for case classes with variadic arguments.
Here is an example that fails to compile with `Cannot generate a pickler`:
``` scala
import scala.pickling._, scala.pic…
-
(See the guidelines for contributing, linked above)
## steps
Ensure you have enabled cached-resolution for your build:
```
updateOptions := updateOptions.value.withCachedResolution(true)
`…