upickle

package upickle

Picklite tries the following mechanisms for pickling a type

- Is there an implicit pickler for that type? - Does the companion have matching apply/unapply? - Does the companion have matching apply/unapplySeq?

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

Type Members

  1. type CT[V] = ClassTag[V]

  2. trait Implicits extends AnyRef

  3. sealed trait Invalid extends Exception

    Exceptions that can be thrown by upickle; placed in the same file as JSON parser due to circular dependencies between exception types and JSON types

  4. type R[V] = Reader[V]

  5. type RW[V] = ReadWriter[V]

  6. class RWKnot[T] extends Reader[T] with Writer[T]

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

  7. class ReadWriter[T] extends Writer[T] with Reader[T]

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

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

  9. class ReaderCls[T] extends Reader[T]

    Helper class to make it convenient to create instances of Reader from the equivalent function

  10. type W[V] = Writer[V]

  11. trait Writer[T] extends AnyRef

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

  12. class WriterCls[T] extends Writer[T]

    Helper class to make it convenient to create instances of Writer from the equivalent function

Value Members

  1. object Implicits extends Implicits

  2. object Invalid extends Serializable

  3. object Js

  4. object Json

    JSON handling utilities

  5. def read[T](expr: String)(implicit arg0: Reader[T]): T

  6. def readJs[T](expr: Value)(implicit arg0: Reader[T]): T

  7. def write[T](expr: T)(implicit arg0: Writer[T]): String

  8. def writeJs[T](expr: T)(implicit arg0: Writer[T]): Value

Inherited from AnyRef

Inherited from Any

Ungrouped