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
Learn more about member selection
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. object Aliases

    Handy shorthands for Reader and Writer

    Handy shorthands for Reader and Writer

    Definition Classes
    Types
  5. implicit def ArrayR[T](implicit arg0: R[T], arg1: ClassTag[T]): R[Array[T]]

  6. implicit def ArrayW[T](implicit arg0: W[T]): W[Array[T]]

  7. implicit val BooleanRW: (Implicits.this)#Writer[Boolean] with (Implicits.this)#Reader[Boolean]

  8. implicit val ByteRW: RW[Byte]

  9. def Case0R[T](t: () ⇒ T): (Implicits.this)#Reader[T]

  10. def Case0W[T](f: (T) ⇒ Boolean): (Implicits.this)#Writer[T]

  11. def CaseR[T, V](f: (T) ⇒ V, names: Array[String], defaults: Array[Value])(implicit arg0: R[T]): (Implicits.this)#Reader[V]

  12. def CaseW[T, V](f: (V) ⇒ Option[T], names: Array[String], defaults: Array[Value])(implicit arg0: W[T]): (Implicits.this)#Writer[V]

  13. implicit val CharRW: (Implicits.this)#Writer[Char] with (Implicits.this)#Reader[Char]

  14. implicit val DoubleRW: RW[Double]

  15. implicit val DurationR: (Implicits.this)#Reader[Duration]

  16. implicit val DurationW: W[Duration]

  17. implicit def EitherR[A, B](implicit arg0: R[A], arg1: R[B]): R[Either[A, B]]

  18. implicit def EitherW[A, B](implicit arg0: W[A], arg1: W[B]): W[Either[A, B]]

  19. implicit val FiniteR: (Implicits.this)#Reader[FiniteDuration]

  20. implicit val FiniteW: (Implicits.this)#Writer[FiniteDuration]

  21. implicit val FloatRW: RW[Float]

  22. implicit val InfiniteR: (Implicits.this)#Reader[Infinite]

  23. implicit val InfiniteW: (Implicits.this)#Writer[Infinite]

  24. implicit val IntRW: RW[Int]

  25. 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.

  26. 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
  27. implicit def LeftR[A, B](implicit arg0: R[A], arg1: R[B]): R[Left[A, B]]

  28. implicit def LeftW[A, B](implicit arg0: W[A], arg1: W[B]): W[Left[A, B]]

  29. implicit val LongRW: (Implicits.this)#Writer[Long] with (Implicits.this)#Reader[Long]

  30. implicit def MapR[K, V](implicit arg0: R[K], arg1: R[V]): R[Map[K, V]]

  31. implicit def MapW[K, V](implicit arg0: W[K], arg1: W[V]): W[Map[K, V]]

  32. implicit def NoneR: R[None.type]

  33. implicit def NoneW: W[None.type]

  34. implicit def OptionR[T](implicit arg0: R[T]): R[Option[T]]

  35. implicit def OptionW[T](implicit arg0: W[T]): W[Option[T]]

  36. 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
  37. object Reader

    Definition Classes
    Types
  38. implicit def RightR[A, B](implicit arg0: R[A], arg1: R[B]): R[Right[A, B]]

  39. implicit def RightW[A, B](implicit arg0: W[A], arg1: W[B]): W[Right[A, B]]

  40. implicit def SeqishR[V[_], T](implicit arg0: R[T], cbf: CanBuildFrom[Nothing, T, V[T]]): R[V[T]]

  41. implicit def SeqishW[T, V[_] <: Iterable[_]](implicit arg0: W[T]): W[V[T]]

  42. implicit val ShortRW: RW[Short]

  43. def SingletonR[T](t: T): (Implicits.this)#Reader[T]

  44. def SingletonW[T](f: T): (Implicits.this)#Writer[T]

  45. implicit def SomeR[T](implicit arg0: R[T]): (Implicits.this)#Reader[Some[T]]

  46. implicit def SomeW[T](implicit arg0: W[T]): (Implicits.this)#Writer[Some[T]]

  47. implicit val StringRW: (Implicits.this)#Writer[String] with (Implicits.this)#Reader[String]

  48. implicit val SymbolRW: (Implicits.this)#Writer[Symbol] with (Implicits.this)#Reader[Symbol]

  49. implicit val UnitRW: (Implicits.this)#Writer[Unit] with (Implicits.this)#Reader[Unit]

  50. implicit def UuidR: R[UUID]

  51. implicit def UuidW: W[UUID]

  52. object Writer

    Definition Classes
    Types
  53. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  54. def clone(): AnyRef

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

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

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

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

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

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

    Definition Classes
    Any
  61. def makeReader[T](pf: PartialFunction[Value, T]): (Implicits.this)#Reader[T]

  62. def makeWriter[T](f: (T) ⇒ Value): (Implicits.this)#Writer[T]

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

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

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

    Definition Classes
    AnyRef
  66. 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
  67. 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
  68. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  69. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. 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
  74. 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

Inherited from Types

Inherited from AnyRef

Inherited from Any

Ungrouped