trait Types extends AnyRef
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
- Self Type
- Types
- Alphabetic
- By Inheritance
- Types
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- abstract class CaseR[V] extends SimpleReader[V]
- trait CaseW[V] extends Writer[V]
-
trait
ReadWriter[T] extends Reader[T] with Writer[T]
A combined Reader and Writer, along with some utility methods.
-
trait
Reader[T] extends Visitor[Any, T]
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.
-
trait
SimpleReader[T] extends Reader[T] with SimpleVisitor[Any, T]
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.
- class SingletonR[T] extends CaseR[T]
- class SingletonW[T] extends CaseW[T]
- trait TaggedReadWriter[T] extends ReadWriter[T] with TaggedReader[T] with TaggedWriter[T] with SimpleReader[T]
- trait TaggedReader[T] extends SimpleReader[T]
- trait TaggedWriter[T] extends Writer[T]
- class TupleNReader[V] extends SimpleReader[V]
- class TupleNWriter[V] extends Writer[V]
-
trait
Writer[T] extends AnyRef
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
Abstract Value Members
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def taggedArrayContext[T](taggedReader: TaggedReader[T], index: Int): ArrVisitor[Any, T]
- def taggedObjectContext[T](taggedReader: TaggedReader[T], index: Int): ObjVisitor[Any, T]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object ReadWriter
- object Reader
- object TaggedReadWriter
- object TaggedReader
- object TaggedWriter
- object Writer