Trait

upickle.core

Types

Related Doc: package core

Permalink

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
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Types
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class CaseR[V] extends SimpleReader[V]

    Permalink
  2. trait CaseW[V] extends Writer[V]

    Permalink
  3. trait ReadWriter[T] extends Reader[T] with Writer[T]

    Permalink

    A combined Reader and Writer, along with some utility methods.

  4. trait Reader[T] extends Visitor[Any, T]

    Permalink

    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.

  5. trait SimpleReader[T] extends Reader[T] with SimpleVisitor[Any, T]

    Permalink

    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.

  6. class SingletonR[T] extends CaseR[T]

    Permalink
  7. class SingletonW[T] extends CaseW[T]

    Permalink
  8. trait TaggedReadWriter[T] extends ReadWriter[T] with TaggedReader[T] with TaggedWriter[T] with SimpleReader[T]

    Permalink
  9. trait TaggedReader[T] extends SimpleReader[T]

    Permalink
  10. trait TaggedWriter[T] extends Writer[T]

    Permalink
  11. class TupleNReader[V] extends SimpleReader[V]

    Permalink
  12. class TupleNWriter[V] extends Writer[V]

    Permalink
  13. trait Writer[T] extends AnyRef

    Permalink

    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

  1. abstract def taggedExpectedMsg: String

    Permalink
  2. abstract def taggedWrite[T, R](w: CaseW[T], tag: String, out: Visitor[_, R], v: T): R

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object ReadWriter

    Permalink
  5. object Reader

    Permalink
  6. object TaggedReadWriter

    Permalink
  7. object TaggedReader

    Permalink
  8. object TaggedWriter

    Permalink
  9. object Writer

    Permalink
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def taggedArrayContext[T](taggedReader: TaggedReader[T], index: Int): ArrVisitor[Any, T]

    Permalink
  23. def taggedObjectContext[T](taggedReader: TaggedReader[T], index: Int): ObjVisitor[Any, T]

    Permalink
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped