-
Wouldn't it make sense to pickle class hierarchies containing Js.Value as the json it represents?
Example:
``` scala
import upickle.default._
import upickle.Js
case class A(x:Int, json:Js.Value)
wr…
-
**Follow these steps**
1. Check you have all the imports from `scala-pickling` in scope.
2. Check again.
3. Execute `sbt clean` and compile again.
4. Check that you ask for a `Pickler` or `Unpickler` …
-
I'd like to add support for pickle extensions as a separate concept. So, for example, `"foo.pkl.bz2"` is gracefully handled, and "baz.json" is gracefully handled. I would be changing the default `pi…
-
I just wrote picklers for any element or attribute:
```
xpAnyElem :: PU a -> PU (String, a)
xpAnyAttr :: PU a -> PU (String, a)
```
During printing, these will use the `String` as the element/attrib…
-
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…
-
Currently, if we want to ensure that picklers/unpicklers are generated statically at compile-time, this flag has to be imported in the scope.
I would propose to turn it around and create a flag calle…
-
Citing from http://hydra.nixos.org/build/19276915/nixlog/1/raw:
```
running tests
Running 1 test suites...
Test suite tests: RUNNING...
all
prop_showXpPrim: OK
+++ OK, passed…
-
``` 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'm trying to generate picklers and unpicklers for `Spore`s. One problem I'm hitting is that despite having static picklers/unpicklers for a given `Spore`, scala-pickling generates their own brand-new…
-
I get this error while trying to generate a scene. Is this something to do with OpenAPI key?
```
Traceback (most recent call last):
File "F:\GitHub\MLProjects\Holodeck\main.py", line 145, in
…