Null

ujson.Null
case object Null extends Value

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Value
trait Writable
trait Readable
class Object
trait Matchable
class Any
Show all
Self type
Null.type

Members list

Type members

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Value members

Concrete methods

def value: Any

Inherited methods

def apply(s: Selector): Value

Attributes

Inherited from:
Value
def arr: ArrayBuffer[Value]

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

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

Attributes

Inherited from:
Value
def arrOpt: Option[ArrayBuffer[Value]]

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

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

Attributes

Inherited from:
Value
def bool: Boolean

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

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

Attributes

Inherited from:
Value
def boolOpt: Option[Boolean]

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

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

Attributes

Inherited from:
Value
def contentLength: Option[Long]

Attributes

Inherited from:
Writable
def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
override def httpContentType: Option[String]

Attributes

Definition Classes
Value -> Writable
Inherited from:
Value
def isNull: Boolean

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

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

Attributes

Inherited from:
Value
def num: Double

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

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

Attributes

Inherited from:
Value
def numOpt: Option[Double]

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

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

Attributes

Inherited from:
Value
def obj: LinkedHashMap[String, Value]

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

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

Attributes

Inherited from:
Value
def objOpt: Option[LinkedHashMap[String, Value]]

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

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

Attributes

Inherited from:
Value
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def render(indent: Int, escapeUnicode: Boolean): String

Attributes

Inherited from:
Value
def str: String

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

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

Attributes

Inherited from:
Value
def strOpt: Option[String]

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

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

Attributes

Inherited from:
Value
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Value -> Any
Inherited from:
Value
def transform[T](f: Visitor[_, T]): T

Attributes

Inherited from:
Value
def update(s: Selector, f: Value => Value): Unit

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

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.

Attributes

Inherited from:
Value
def update(s: Selector, v: Value): Unit

Attributes

Inherited from:
Value
def writeBytesTo(out: OutputStream): Unit

Attributes

Inherited from:
Value
def writeBytesTo(out: OutputStream, indent: Int, escapeUnicode: Boolean): Unit

Attributes

Inherited from:
Value