Packages

t

upickle

Implicits

trait Implicits extends Types with BigDecimalSupport

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
BigDecimalSupport, Types, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Implicits
  2. BigDecimalSupport
  3. Types
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class MergeR [T] extends AnyRef
  2. implicit class MergeRW [T] extends AnyRef
  3. implicit class MergeW [T] extends AnyRef
  4. type ReadWriter[T] = (Implicits.this)#Reader[T] with (Implicits.this)#Writer[T]
    Definition Classes
    Types
  5. 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( ... )
  6. 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 LeftR[A, B](implicit arg0: R[A], arg1: R[B]): R[Left[A, B]]
  41. implicit def LeftW[A, B](implicit arg0: W[A], arg1: W[B]): W[Left[A, B]]
  42. implicit val LongRW: (Implicits.this)#Writer[Long] with (Implicits.this)#Reader[Long]
  43. implicit def MapR[K, V](implicit arg0: R[K], arg1: R[V]): R[Map[K, V]]
  44. implicit def MapW[K, V](implicit arg0: W[K], arg1: W[V]): W[Map[K, V]]
  45. implicit def NoneR: R[None.type]
  46. implicit def NoneW: W[None.type]
  47. implicit def OptionR[T](implicit arg0: R[T]): R[Option[T]]
  48. implicit def OptionW[T](implicit arg0: W[T]): W[Option[T]]
  49. implicit def RightR[A, B](implicit arg0: R[A], arg1: R[B]): R[Right[A, B]]
  50. implicit def RightW[A, B](implicit arg0: W[A], arg1: W[B]): W[Right[A, B]]
  51. implicit def SeqishR[V[_], T](implicit cbf: CanBuildFrom[Nothing, T, V[T]], r: R[T]): R[V[T]]
  52. implicit def SeqishW[T, V[_]](implicit v: <:<[V[_], Iterable[_]], w: W[T]): W[V[T]]
  53. implicit val ShortRW: RW[Short]
  54. def SingletonR[T](t: T): (Implicits.this)#Reader[T]
  55. def SingletonW[T](f: T): (Implicits.this)#Writer[T]
  56. implicit def SomeR[T](implicit arg0: R[T]): (Implicits.this)#Reader[Some[T]]
  57. implicit def SomeW[T](implicit arg0: W[T]): (Implicits.this)#Writer[Some[T]]
  58. implicit val StringRW: (Implicits.this)#Writer[String] with (Implicits.this)#Reader[String]
  59. implicit val SymbolRW: (Implicits.this)#Writer[Symbol] with (Implicits.this)#Reader[Symbol]
  60. implicit val UnitRW: (Implicits.this)#Writer[Unit] with (Implicits.this)#Reader[Unit]
  61. implicit def UuidR: R[UUID]
  62. implicit def UuidW: W[UUID]
  63. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  64. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  66. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  67. def exactBigDecimal(s: String): BigDecimal
    Attributes
    protected
    Definition Classes
    BigDecimalSupport
    Annotations
    @inline()
  68. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  69. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  70. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  71. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  72. def makeReader[T](pf: PartialFunction[Value, T]): (Implicits.this)#Reader[T]
  73. def makeWriter[T](f: (T) ⇒ Value): (Implicits.this)#Writer[T]
  74. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  75. final def notify(): Unit
    Definition Classes
    AnyRef
  76. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  77. 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
  78. 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
  79. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  80. def toString(): String
    Definition Classes
    AnyRef → Any
  81. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  83. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  84. 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
  85. 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
  86. 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.

  87. object Aliases

    Handy shorthands for Reader and Writer

    Handy shorthands for Reader and Writer

    Definition Classes
    Types
  88. object Knot

    Classes that provides a mutable version of ReadWriter, used to allow serialization and deserialization of recursive data structure

    Classes that provides a mutable version of ReadWriter, used to allow serialization and deserialization of recursive data structure

    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 BigDecimalSupport

Inherited from Types

Inherited from AnyRef

Inherited from Any

Ungrouped