J.Object

trait Object extends Lookup[String, Any] with Able.Doc
trait Able.Doc
trait Able.Tag
trait Lookup[String, Any]
trait Collection[Any]
trait Able.Size
trait Able.Stream[Any]
class java.lang.Object
trait scala.Matchable
class Any

Def

def boolean(name: String): Boolean
def doc: Doc
def double(name: String): Double
def doubleOpt(name: String): Double.Opt
def get(v: String): Any

Element by key

Element by key

Returns element associated with the given key

Note. This operation will fail, if value is not found. Thus, use safer getOpt in most cases

Inherited from
Lookup
Source
__.scala
def getOpt(key: String): Opt[Any]

Optional element by key

Optional element by key

Optionally returns element associated with the given key

Inherited from
Lookup
Source
__.scala
def getStream(keys: Stream[String]): Stream[Any]

Multi key lookup

Multi key lookup

Returns a stream of values for given stream of keys.

Note: There may be less values, than keys. Keys with no assosiated values are ignored.

Inherited from
Lookup
Source
__.scala
def int(name: String): Int
def intOpt(name: String): Int.Opt
def jArray(name: String): J.Array
def jArrayOpt(name: String): Opt[J.Array]
def jObject(name: String): J.Object
def jObjectOpt(name: String): Opt[J.Object]
def keyStream: Stream[String]

Key stream

Key stream

Returns a Stream of all keys for this Lookup

Inherited from
Lookup
Source
__.scala
def long(name: String): Long
def longOpt(name: String): Long.Opt
def pairStream: Stream[(String, Any)]

Key/value pair stream

Key/value pair stream

Returns a Stream of all key/value pairs for this Lookup

Inherited from
Lookup
Source
__.scala
def size: Int
Inherited from
Collection
Source
__.scala
def stream: Stream[Any]

Value stream

Value stream

Returns a Stream of all values for this Lookup

Inherited from
Lookup
Source
__.scala
def string(name: String): String
def stringOpt(name: String): Opt[String]
override def tag: String

Make String

Make String

tag returns this instance String representation, which should be used insted of toString

Definition Classes
Doc -> Tag
Source
Object.scala