Packages

  • package root
    Definition Classes
    root
  • package upickle
    Definition Classes
    root
  • object Js

    A very small, very simple JSON AST that uPickle uses as part of its serialization process.

    A very small, very simple JSON AST that uPickle uses as part of its serialization process. A common standard between the Jawn AST (which we don't use so we don't pull in the bulk of Spire) and the Javascript JSON AST.

    Definition Classes
    upickle
  • Arr
  • False
  • Null
  • Num
  • Obj
  • Str
  • True
  • Value
t

upickle.Js

Value

sealed trait Value extends Any

Linear Supertypes
Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Value
  2. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getClass(): Class[_]
    Definition Classes
    Any
  2. abstract def value: Any

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def apply(s: String): Value

    Looks up the Js.Value as a Js.Obj using an index, throws otherwise if it's not a Js.Obj

  5. def apply(i: Int): Value

    Looks up the Js.Value as a Js.Arr using an index, throws otherwise if it's not a Js.Arr

  6. def arr: Seq[Value]

    Returns the elements of this Js.Value, fails if it is not a Js.Arr

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  9. def hashCode(): Int
    Definition Classes
    Any
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def num: Double

    Returns the Double value of this Js.Value, fails if it is not a Js.Num

  12. def obj: Map[CharSequence, Value]

    Returns the key/value map of this Js.Value, fails if it is not a Js.Obj

  13. def str: CharSequence

    Returns the String value of this Js.Value, fails if it is not a Js.Str

  14. def toString(): String
    Definition Classes
    Value → Any

Inherited from Any

Ungrouped