upickle

Macros

object Macros

Implementation of macros used by uPickle to serialize and deserialize case classes automatically. You probably shouldn't need to use these directly, since they are called implicitly when trying to read/write types you don't have a Reader/Writer in scope for.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Macros
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class RW extends AnyRef

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object RW

  7. def annotate(c: Context)(tpe: scala.reflect.macros.Context.Type)(pickler: Tree): Tree

    If there is a sealed base class, annotate the pickled tree in the JSON representation with a class label.

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def companionTree(c: Context)(tpe: scala.reflect.macros.Context.Type): Tree

  11. def customKey(c: Context)(sym: scala.reflect.macros.Context.Symbol): Option[String]

    Get the custom @key annotation from the parameter Symbol if it exists

  12. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  18. def macroRImpl[T](c: Context)(implicit arg0: scala.reflect.macros.Context.WeakTypeTag[T]): scala.reflect.macros.Context.Expr[Reader[T]]

  19. def macroWImpl[T](c: Context)(implicit arg0: scala.reflect.macros.Context.WeakTypeTag[T]): scala.reflect.macros.Context.Expr[Writer[T]]

  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def pickleCaseObject(c: Context)(tpe: scala.reflect.macros.Context.Type, rw: RW)(treeMaker: (Seq[scala.reflect.macros.Context.Tree]) ⇒ scala.reflect.macros.Context.Tree): Tree

  24. def pickleClass(c: Context)(tpe: scala.reflect.macros.Context.Type, rw: RW)(treeMaker: (Seq[scala.reflect.macros.Context.Tree]) ⇒ scala.reflect.macros.Context.Tree): Tree

  25. def pickleTrait(c: Context)(tpe: scala.reflect.macros.Context.Type, rw: RW)(treeMaker: (Seq[scala.reflect.macros.Context.Tree]) ⇒ scala.reflect.macros.Context.Tree): Tree

  26. def picklerFor(c: Context)(tpe: scala.reflect.macros.Context.Type, rw: RW)(treeMaker: (Seq[scala.reflect.macros.Context.Tree]) ⇒ scala.reflect.macros.Context.Tree): scala.reflect.macros.Context.Tree

    Generates a pickler for a particular type

    Generates a pickler for a particular type

    tpe

    The type we are generating the pickler for

    rw

    Configuration that determines whether it's a Reader or a Writer, together with the various names which vary between those two choices

    treeMaker

    How to merge the trees of the multiple subpicklers into one larger tree

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped