sealed trait Value extends Readable
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Value
- Readable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def value: Any
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(s: Selector): Value
- def arr: ArrayBuffer[Value]
Returns the elements of this Value, fails if it is not a Value.Arr
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bool: Boolean
Returns the
Boolean
value of this Value, fails if it is not a Value.Bool - def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.CloneNotSupportedException])
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isNull: Boolean
Returns true if the value of this Value is ujson.Null, false otherwise
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def num: Double
Returns the
Double
value of this Value, fails if it is not a Value.Num - def obj: LinkedHashMap[String, Value]
Returns the key/value map of this Value, fails if it is not a Value.Obj
- def render(indent: Int = -1, escapeUnicode: Boolean = false): String
- def str: String
Returns the
String
value of this Value, fails if it is not a Value.Str - final def synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Value → AnyRef → Any
- def transform[T](f: Visitor[_, T]): T
- def update(s: Selector, f: (Value) ⇒ Value): Unit
Update a value in-place.
Update a value in-place. Takes an
Int
or aString
, through the implicitly-constructe Value.Selector type.We cannot just overload
update
ons: Int
ands: String
because of type inference problems in Scala 2.11. - def update(s: Selector, v: Value): Unit
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws(classOf[java.lang.InterruptedException])