An instance of the upickle API.
A upickle.Api
that follows the default sealed-trait-instance-tagging
behavior of using an attribute, but allow you to control what the name
of the attribute is.
The default way of accessing upickle
An instance of the upickle API that follows the old serialization for tagged instances of sealed traits: as a list with two items, the first being the type-tag and the second being the serialized object
An instance of the upickle API. There's a default instance at
upickle.default
, but you can also implement it yourself to customize its behavior. Override theannotate
methods to control how a sealed trait instance is tagged during reading and writing.