Packages

t

upickle

Implicits

trait Implicits extends Types

Typeclasses to allow read/writing of all the common data-types and data-structures in the standard library

Self Type
Implicits with Generated
Linear Supertypes
Types, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Implicits
  2. Types
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ReadWriter[T] = (Implicits.this)#Reader[T] with (Implicits.this)#Writer[T]
    Definition Classes
    Types
  2. trait Reader[T] extends AnyRef

    A typeclass that allows you to deserialize a type T from JSON, which can itself be read from a String

    A typeclass that allows you to deserialize a type T from JSON, which can itself be read from a String

    Definition Classes
    Types
    Annotations
    @implicitNotFound( ... )
  3. trait Writer[T] extends AnyRef

    A typeclass that allows you to serialize a type T to JSON, and eventually to a string

    A typeclass that allows you to serialize a type T to JSON, and eventually to a string

    Definition Classes
    Types
    Annotations
    @implicitNotFound( ... )

Abstract Value Members

  1. implicit abstract def Tuple2R[T1, T2](implicit arg0: R[T1], arg1: R[T2]): R[(T1, T2)]
  2. implicit abstract def Tuple2W[T1, T2](implicit arg0: W[T1], arg1: W[T2]): W[(T1, T2)]

Concrete 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. implicit def ArrayR[T](implicit arg0: R[T], arg1: ClassTag[T]): R[Array[T]]
  5. implicit def ArrayW[T](implicit arg0: W[T]): W[Array[T]]
  6. implicit val BigDecimalRW: (Implicits.this)#Writer[BigDecimal] with (Implicits.this)#Reader[BigDecimal]
  7. implicit val BigIntRW: (Implicits.this)#Writer[BigInt] with (Implicits.this)#Reader[BigInt]
  8. implicit val BooleanRW: (Implicits.this)#Writer[Boolean] with (Implicits.this)#Reader[Boolean]
  9. implicit val ByteRW: RW[Byte]
  10. def Case0R[T](t: () ⇒ T): (Implicits.this)#Reader[T]
  11. def Case0W[T](f: (T) ⇒ Boolean): (Implicits.this)#Writer[T]
  12. def CaseR[T, V](f: (T) ⇒ V, names: Array[String], defaults: Array[Value])(implicit arg0: R[T]): (Implicits.this)#Reader[V]
  13. def CaseW[T, V](f: (V) ⇒ Option[T], names: Array[String], defaults: Array[Value])(implicit arg0: W[T]): (Implicits.this)#Writer[V]
  14. implicit val CharRW: (Implicits.this)#Writer[Char] with (Implicits.this)#Reader[Char]
  15. implicit val DoubleRW: RW[Double]
  16. implicit val DurationR: (Implicits.this)#Reader[Duration]
  17. implicit val DurationW: W[Duration]
  18. implicit def EitherR[A, B](implicit arg0: R[A], arg1: R[B]): R[Either[A, B]]
  19. implicit def EitherW[A, B](implicit arg0: W[A], arg1: W[B]): W[Either[A, B]]
  20. implicit val FiniteR: (Implicits.this)#Reader[FiniteDuration]
  21. implicit val FiniteW: (Implicits.this)#Writer[FiniteDuration]
  22. implicit val FloatRW: RW[Float]
  23. implicit val InfiniteR: (Implicits.this)#Reader[Infinite]
  24. implicit val InfiniteW: (Implicits.this)#Writer[Infinite]
  25. implicit val IntRW: RW[Int]
  26. implicit def JsArrR: R[Arr]
  27. implicit def JsArrW: W[Arr]
  28. implicit def JsFalseR: R[False.type]
  29. implicit def JsFalseW: W[False.type]
  30. implicit def JsNullR: R[Null.type]
  31. implicit def JsNullW: W[Null.type]
  32. implicit def JsNumR: R[Num]
  33. implicit def JsNumW: W[Num]
  34. implicit def JsObjR: R[Obj]
  35. implicit def JsObjW: W[Obj]
  36. implicit def JsStrR: R[Str]
  37. implicit def JsStrW: W[Str]
  38. implicit def JsTrueR: R[True.type]
  39. implicit def JsTrueW: W[True.type]
  40. implicit def JsValueR: R[Value]
  41. implicit def JsValueW: W[Value]
  42. implicit def LeftR[A, B](implicit arg0: R[A], arg1: R[B]): R[Left[A, B]]
  43. implicit def LeftW[A, B](implicit arg0: W[A], arg1: W[B]): W[Left[A, B]]
  44. implicit val LongRW: (Implicits.this)#Writer[Long] with (Implicits.this)#Reader[Long]
  45. implicit def MapR[K, V](implicit arg0: R[K], arg1: R[V]): R[Map[K, V]]
  46. implicit def MapW[K, V](implicit arg0: W[K], arg1: W[V]): W[Map[K, V]]
  47. implicit def NoneR: R[None.type]
  48. implicit def NoneW: W[None.type]
  49. implicit def OptionR[T](implicit arg0: R[T]): R[Option[T]]
  50. implicit def OptionW[T](implicit arg0: W[T]): W[Option[T]]
  51. implicit def RightR[A, B](implicit arg0: R[A], arg1: R[B]): R[Right[A, B]]
  52. implicit def RightW[A, B](implicit arg0: W[A], arg1: W[B]): W[Right[A, B]]
  53. implicit def SeqishR[V[_], T](implicit cbf: CanBuildFrom[Nothing, T, V[T]], r: R[T]): R[V[T]]
  54. implicit def SeqishW[T, V[_]](implicit v: <:<[V[_], Iterable[_]], w: W[T]): W[V[T]]
  55. implicit val ShortRW: RW[Short]
  56. def SingletonR[T](t: T): (Implicits.this)#Reader[T]
  57. def SingletonW[T](f: T): (Implicits.this)#Writer[T]
  58. implicit def SomeR[T](implicit arg0: R[T]): (Implicits.this)#Reader[Some[T]]
  59. implicit def SomeW[T](implicit arg0: W[T]): (Implicits.this)#Writer[Some[T]]
  60. implicit val StringRW: (Implicits.this)#Writer[String] with (Implicits.this)#Reader[String]
  61. implicit val SymbolRW: (Implicits.this)#Writer[Symbol] with (Implicits.this)#Reader[Symbol]
  62. implicit val UnitRW: (Implicits.this)#Writer[Unit] with (Implicits.this)#Reader[Unit]
  63. implicit def UuidR: R[UUID]
  64. implicit def UuidW: W[UUID]
  65. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  66. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  67. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  68. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  69. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  70. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  71. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  72. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  73. def makeReader[T](pf: PartialFunction[Value, T]): (Implicits.this)#Reader[T]
  74. def makeWriter[T](f: (T) ⇒ Value): (Implicits.this)#Writer[T]
  75. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  76. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  77. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  78. def read[T](expr: String)(implicit arg0: (Implicits.this)#Reader[T]): T

    Deserialize a String object of type T

    Deserialize a String object of type T

    Definition Classes
    Types
  79. def readJs[T](expr: Value)(implicit arg0: (Implicits.this)#Reader[T]): T

    Deserialize a Js.Value object of type T

    Deserialize a Js.Value object of type T

    Definition Classes
    Types
  80. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  81. def toString(): String
    Definition Classes
    AnyRef → Any
  82. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  83. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  84. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  85. def write[T](expr: T, indent: Int = 0)(implicit arg0: (Implicits.this)#Writer[T]): String

    Serialize an object of type T to a String

    Serialize an object of type T to a String

    Definition Classes
    Types
  86. def writeJs[T](expr: T)(implicit arg0: (Implicits.this)#Writer[T]): Value

    Serialize an object of type T to a Js.Value

    Serialize an object of type T to a Js.Value

    Definition Classes
    Types
  87. object Internal

    APIs that need to be exposed to the outside world to support Macros which depend on them, but probably should not get used directly.

  88. object Aliases

    Handy shorthands for Reader and Writer

    Handy shorthands for Reader and Writer

    Definition Classes
    Types
  89. object ReadWriter

    Helper object that makes it convenient to create instances of bother Reader and Writer at the same time.

    Helper object that makes it convenient to create instances of bother Reader and Writer at the same time.

    Definition Classes
    Types
  90. object Reader
    Definition Classes
    Types
  91. object Writer
    Definition Classes
    Types

Inherited from Types

Inherited from AnyRef

Inherited from Any

Ungrouped