WebJson

upickle.WebJson
trait WebJson extends Types

Attributes

Graph
Supertypes
trait Types
class Object
trait Matchable
class Any
Known subtypes
trait Api
object default.type
trait LegacyApi
object legacy.type

Members list

Type members

Inherited classlikes

trait ObjectWriter[T] extends Writer[T]

Attributes

Inherited from:
Types
Supertypes
trait Writer[T]
class Object
trait Matchable
class Any
Known subtypes
trait CaseClassWriter[V]
class SingletonWriter[T]
object ReadWriter

Attributes

Inherited from:
Types
Supertypes
class Object
trait Matchable
class Any
trait ReadWriter[T] extends Reader[T], Writer[T]

A combined Reader and Writer, along with some utility methods.

A combined Reader and Writer, along with some utility methods.

Attributes

Inherited from:
Types
Supertypes
trait Writer[T]
trait Reader[T]
trait Visitor[Any, T]
class Object
trait Matchable
class Any
Show all
Known subtypes
trait TaggedReadWriter[T]
object Reader

Attributes

Inherited from:
Types
Supertypes
class Object
trait Matchable
class Any
trait Reader[T] extends Visitor[Any, T]

Represents the ability to read a value of type T.

Represents the ability to read a value of type T.

A thin wrapper around Visitor, but needs to be it's own class in order to make type inference automatically pick up it's implicit values.

Attributes

Inherited from:
Types
Supertypes
trait Visitor[Any, T]
class Object
trait Matchable
class Any
Known subtypes
trait ReadWriter[T]
trait TaggedReadWriter[T]
trait SimpleReader[T]
class CaseClassReader[V]
class SingletonReader[T]
trait NumericReader[T]
class SeqLikeReader[C, T]
trait TaggedReader[T]
class TupleNReader[V]
Show all
trait SimpleReader[T] extends Reader[T], SimpleVisitor[Any, T]

A Reader that throws an error for all the visit methods which it does not define, letting you only define the handlers you care about.

A Reader that throws an error for all the visit methods which it does not define, letting you only define the handlers you care about.

Attributes

Inherited from:
Types
Supertypes
trait SimpleVisitor[Any, T]
trait Reader[T]
trait Visitor[Any, T]
class Object
trait Matchable
class Any
Show all
Known subtypes
class CaseClassReader[V]
class SingletonReader[T]
trait NumericReader[T]
class SeqLikeReader[C, T]
trait TaggedReadWriter[T]
trait TaggedReader[T]
class TupleNReader[V]
Show all

Attributes

Inherited from:
Types
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
Types
Supertypes
trait TaggedWriter[T]
trait TaggedReader[T]
trait SimpleReader[T]
trait SimpleVisitor[Any, T]
trait ReadWriter[T]
trait Writer[T]
trait Reader[T]
trait Visitor[Any, T]
class Object
trait Matchable
class Any
Show all
object TaggedReader

Attributes

Inherited from:
Types
Supertypes
class Object
trait Matchable
class Any
trait TaggedReader[T] extends SimpleReader[T]

Attributes

Inherited from:
Types
Supertypes
trait SimpleReader[T]
trait SimpleVisitor[Any, T]
trait Reader[T]
trait Visitor[Any, T]
class Object
trait Matchable
class Any
Show all
Known subtypes
trait TaggedReadWriter[T]
object TaggedWriter

Attributes

Inherited from:
Types
Supertypes
class Object
trait Matchable
class Any
trait TaggedWriter[T] extends Writer[T]

Attributes

Inherited from:
Types
Supertypes
trait Writer[T]
class Object
trait Matchable
class Any
Known subtypes
trait TaggedReadWriter[T]
object Writer

Attributes

Inherited from:
Types
Supertypes
class Object
trait Matchable
class Any
trait Writer[T]

Represents the ability to write a value of type T.

Represents the ability to write a value of type T.

Generally nothing more than a way of applying the T to a Visitor, along with some utility methods

Attributes

Inherited from:
Types
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ObjectWriter[T]
trait CaseClassWriter[V]
class SingletonWriter[T]
trait ReadWriter[T]
trait TaggedReadWriter[T]
trait TaggedWriter[T]
class TupleNWriter[V]
Show all

Value members

Inherited methods

def taggedArrayContext[T](taggedReader: TaggedReader[T], index: Int): ArrVisitor[Any, T]

Attributes

Inherited from:
Types
def taggedExpectedMsg: String

Attributes

Inherited from:
Types
def taggedObjectContext[T](taggedReader: TaggedReader[T], index: Int): ObjVisitor[Any, T]

Attributes

Inherited from:
Types
def taggedWrite[T, R](w: ObjectWriter[T], tag: String, out: Visitor[_, R], v: T): R

Attributes

Inherited from:
Types