Writes value in pickled form
Writes value in pickled form
the writer to which pickled form is written
the value to write
Reads value from pickled form.
Reads value from pickled form.
the lexer from which lexemes are read
An UnpickleSuccess value if the current input corresponds to the
kind of value that is unpickled by the current subclass of
Pickler,
an
UnpickleFailure value otherwise.
A conditional pickler handling values of some Scala class.
A conditional pickler handling values of some Scala class. It adds the class name as a label to the representation of the current pickler and
the class of values handled by this pickler.
The predicate that indicates whether a given value can be pickled by instances of this class.
A conditional pickler obtained from the current pickler.
A conditional pickler obtained from the current pickler.
A pickler that adds a label to the current pickler, using the representation
label ( <current pickler> )
A pickler that adds a label to the current pickler, using the representation
label ( <current pickler> )
A pickler obtained from the current pickler by also admitting null
as
a handled value, represented as the token null
.
A pickler obtained from the current pickler by also admitting null
as
a handled value, represented as the token null
.
an implicit evidence parameter ensuring that the type of values
handled by this pickler contains null
.
Pickles given value x
if possible, as indicated by canPickle(x)
.
A pickler obtained from the current pickler by a pair of transformer functions
A pickler obtained from the current pickler by a pair of transformer functions
the function that maps values handled by the current pickler to values handled by the wrapped pickler.
the function that maps values handled by the wrapped pickler to values handled by the current pickler.
A pickler obtained from this pickler and an alternative pickler.
A pickler obtained from this pickler and an alternative pickler.
To pickle a value, this pickler is tried first. If it cannot handle
the object (as indicated by its canPickle
test), then the
alternative pickler is tried.
To unpickle a value, this unpickler is tried first. If it cannot read
the input (as indicated by a UnpickleFailure
result), then the
alternative pickler is tried.
The alternative pickler.
A pickler representing a ~
-pair of values as two consecutive pickled
strings, separated by a comma.
A pickler representing a ~
-pair of values as two consecutive pickled
strings, separated by a comma.
the second pickler which together with the current pickler makes
up the pair this ~ that
to be pickled.
A subclass of Pickler can indicate whether a particular value can be pickled by instances of this class.