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: Any): Boolean

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

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

    Definition Classes
    AnyRef → Any
  4. object RW

  5. def annotate(c: Context)(tpe: scala.reflect.macros.blackbox.Context.Type)(pickler: scala.reflect.macros.Universe.Tree): scala.reflect.macros.Universe.Tree

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

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  24. def picklerFor(c: Context)(tpe: scala.reflect.macros.blackbox.Context.Type, rw: RW)(treeMaker: (Seq[scala.reflect.macros.blackbox.Context.Tree]) ⇒ scala.reflect.macros.blackbox.Context.Tree): scala.reflect.macros.blackbox.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

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

    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped