Types
Basic functionality to be able to read and write objects. Kept as a trait so other internal files can use it, while also mixing it into the upickle
package to form the public API1
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Members list
Type members
Classlikes
Attributes
- Supertypes
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ReadWriter.type
Represents the ability to read a value of type T.
Represents the ability to read a value of type T.
A thin wrapper around Visitor, but needs to be it's own class in order to make type inference automatically pick up it's implicit values.
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
trait ReadWriter[T]class Delegate[T]trait TaggedReadWriter[T]class Leaf[T]class Node[T]trait SimpleReader[T]trait TaggedReader[T]class Leaf[T]class Node[T]Show all
A Reader that throws an error for all the visit methods which it does not define, letting you only define the handlers you care about.
A Reader that throws an error for all the visit methods which it does not define, letting you only define the handlers you care about.
Attributes
- Supertypes
- Known subtypes
-
trait TaggedReadWriter[T]class Leaf[T]class Node[T]trait TaggedReader[T]class Leaf[T]class Node[T]Show all
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TaggedReadWriter.type
Attributes
- Companion
- object
- Supertypes
-
trait TaggedWriter[T]trait TaggedReader[T]trait SimpleReader[T]trait ReadWriter[T]trait Writer[T]trait Reader[T]class Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TaggedReader.type
Attributes
- Companion
- object
- Supertypes
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TaggedWriter.type
Represents the ability to write a value of type T.
Represents the ability to write a value of type T.
Generally nothing more than a way of applying the T to a Visitor, along with some utility methods
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait ObjectWriter[T]trait ReadWriter[T]class Delegate[T]trait TaggedReadWriter[T]class Leaf[T]class Node[T]trait TaggedWriter[T]class Leaf[T]class Node[T]Show all