Trait/Object

ujson

Value

Related Docs: object Value | package ujson

Permalink

sealed trait Value extends Readable with Writable

Linear Supertypes
Writable, Readable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Value
  2. Writable
  3. Readable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def value: Any

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(s: Selector): Value

    Permalink
  5. def arr: ArrayBuffer[Value]

    Permalink

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

  6. def arrOpt: Option[ArrayBuffer[Value]]

    Permalink

    Returns The optional elements of this Value in case this Value is a 'Arr'.

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def bool: Boolean

    Permalink

    Returns the Boolean value of this Value, fails if it is not a ujson.Bool

  9. def boolOpt: Option[Boolean]

    Permalink

    Returns an Optional Boolean value of this Value in case this Value is a 'Bool'.

  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  11. def contentLength: Option[Long]

    Permalink
    Definition Classes
    Writable
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  16. def httpContentType: Some[String]

    Permalink
    Definition Classes
    Value → Writable
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def isNull: Boolean

    Permalink

    Returns true if the value of this Value is ujson.Null, false otherwise

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

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. def num: Double

    Permalink

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

  23. def numOpt: Option[Double]

    Permalink

    Returns an Option[Double] in case this Value is a 'Num'.

  24. def obj: LinkedHashMap[String, Value]

    Permalink

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

  25. def objOpt: Option[LinkedHashMap[String, Value]]

    Permalink

    Returns an Optional key/value map of this Value in case this Value is a 'Obj'.

  26. def render(indent: Int = 1, escapeUnicode: Boolean = false): String

    Permalink
  27. def str: String

    Permalink

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

  28. def strOpt: Option[String]

    Permalink

    Returns an Optional String value of this Value in case this Value is a 'String'.

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    Value → AnyRef → Any
  31. def transform[T](f: Visitor[_, T]): T

    Permalink
    Definition Classes
    ValueReadable
  32. def update(s: Selector, f: (Value) ⇒ Value): Unit

    Permalink

    Update a value in-place.

    Update a value in-place. Takes an Int or a String, through the implicitly-constructe Value.Selector type.

    We cannot just overload update on s: Int and s: String because of type inference problems in Scala 2.11.

  33. def update(s: Selector, v: Value): Unit

    Permalink
  34. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def writeBytesTo(out: OutputStream): Unit

    Permalink
    Definition Classes
    Value → Writable
  38. def writeBytesTo(out: OutputStream, indent: Int = 1, escapeUnicode: Boolean = false): Unit

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Writable

Inherited from Readable

Inherited from AnyRef

Inherited from Any

Ungrouped