Open amnaredo opened 3 years ago
The tree seems to be as expected: Obj(ArrayBuffer((in,Obj(ArrayBuffer((s,Str(sValue)))))))
Original Author: gaydenko
Your mistake is that Option[String]
is written as []
or ["..."]
. We don't have unboxed strings in uPickle either, and I don't think it's possible to do so elegantly if we want to make https://github.com/lihaoyi/upickle/issues/12 work aswell
Original Author: lihaoyi
FWIW, the approach i would have taken to debugging this would be to instantiate a few of those things and write
-ing/read
-ing it, that'd probably have made this obvious when you looked at the stuff it spat out
Original Author: lihaoyi
Ouch! Very sudden view at Option
. To my taste, of course.
As for nulls, well, Scala (as well as you and me) hates them, doesn't it?
Original Author: gaydenko
Hi!
With this code
have got
Where is my mistake?
ID: 15 Original Author: gaydenko