-
Hi, I'm trying to generate a pickler for an object graph. The compilation fails after a while, suggesting to use -Xlog-implicits to see why. After adding that option, this is part of the output (it re…
-
I'm using `scala-pickling` in a project and I've noticed that sometimes minor changes in the codebase can lead to unexpected errors when generating picklers/unpicklers. For instance, changing names of…
-
``` scala
package com.typesafe
import akka.util.ByteString
import akka.actor.Address
import akka.serialization.Serializer
import scala.pickling._
import scala.pickling.Defaults._
import scala.picklin…
ktoso updated
9 years ago
-
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 = "he…
-
It only contains the type information:
``` scala
scala> import pickling.Defaults._, pickling.json._
import pickling.Defaults._
import pickling.json._
scala> val f = new java.io.File("/a/b")
f: java.…
-
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 {
…
-
Early Java pickling (using `-Ypickle-java`) applies the wrong (Scala) visibility when typing Java sources. Given `P.scala`:
```
package com.example.test
private[test] class P
```
and `U.jav…
-
Dear all,
Disclaimer: I am new to scala-pickling, so I am probably just doing something wrong.
I have two source folders A and B. Folder A contains the following scala code:
``` scala
import scala.…
-
Example:
``` scala
import scala.pickling._
import scala.pickling.Defaults._
import scala.pickling.json._
import scala.pickling.static._
import scala.collection.LinearSeq
sealed trait C
case class D…
-
I tried to write some integration test for @mirror annotation, available on the branch `shape-checking`.:
```scala
import scala.annotation.mirror
object mirrors {
@mirror def +(A: Int, B: In…