class Json extends StringMap
- Source
- json.scala
- Alphabetic
- By Inheritance
- Json
- StringMap
- AnyRef
- Any
- by richDrxAny
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Json, B)
- def /(symbol: Symbol): Scoped
- Definition Classes
- StringMap
- def /(name: String): Scoped
- Definition Classes
- StringMap
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def apply[T](key: String)(implicit parser: Parsable[T]): T
dangerous option, either use modadic or defaults with getOrElse
dangerous option, either use modadic or defaults with getOrElse
- Definition Classes
- StringMap
- def applyIf(t: Boolean, f: (Json) => Json): Json
- Implicit
- This member is added by an implicit conversion from Json toDrxAny[Json] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (Json) => Boolean)(f: (Json) => Json): Json
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from Json toDrxAny[Json] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asMap: Map[String, Json]
- def asSeq: Seq[Json]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def contains(key: String): Boolean
- Definition Classes
- StringMap
- def elementOf(xs: Set[Json]): Boolean
- Implicit
- This member is added by an implicit conversion from Json toDrxAny[Json] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (Json) => Boolean, msg: => Any): Json
- def ensuring(cond: (Json) => Boolean): Json
- def ensuring(cond: Boolean, msg: => Any): Json
- def ensuring(cond: Boolean): Json
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- def get[A, B, C, D](keyA: String, keyB: String, keyC: String, keyD: String)(implicit parserA: Parsable[A], parserB: Parsable[B], parserC: Parsable[C], parserD: Parsable[D]): Option[(A, B, C, D)]
- Definition Classes
- StringMap
- def get[A, B, C](keyA: String, keyB: String, keyC: String)(implicit parserA: Parsable[A], parserB: Parsable[B], parserC: Parsable[C]): Option[(A, B, C)]
- Definition Classes
- StringMap
- def get[A, B](keyA: String, keyB: String)(implicit parserA: Parsable[A], parserB: Parsable[B]): Option[(A, B)]
- Definition Classes
- StringMap
- def get[T](key: String)(implicit parser: Parsable[T]): Option[T]
- Definition Classes
- StringMap
- def getBoolean(key: String): Option[Boolean]
- def getBoolean: Option[Boolean]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDouble(key: String): Option[Double]
- def getDouble: Option[Double]
- def getInt(key: String): Option[Int]
- def getInt: Option[Int]
- def getJson(key: String): Option[Json]
- def getJson(key: Int): Option[Json]
- def getLong(key: String): Option[Long]
- def getLong: Option[Long]
- def getMap(key: String): Option[Map[String, Json]]
- def getMap: Option[Map[String, Json]]
- final def getOrElse[T](key: String, default: T)(implicit parser: Parsable[T]): T
- Definition Classes
- StringMap
- def getSeq(key: String): Option[Seq[Json]]
- def getSeq: Option[Seq[Json]]
- def getString(key: String): Option[String]
the key get interface to parse as you would like
- def getString: Option[String]
always return a string so string parse will work
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isBoolean: Boolean
- def isDouble: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isInt: Boolean
- def isLong: Boolean
- def isMap: Boolean
- def isSeq: Boolean
- def isString: Boolean
- def keys: List[String]
list of the available keys (the sort order provides listing features)
- def mergeWith(that: StringMap): StringMap
- Definition Classes
- StringMap
- def mkPath(keys: Seq[String]): String
default as a path separator of '.' but this is configurable (over-ridable)
default as a path separator of '.' but this is configurable (over-ridable)
- Definition Classes
- StringMap
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noneIf(f: (Json) => Boolean): Option[Json]
- Implicit
- This member is added by an implicit conversion from Json toDrxAny[Json] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def optionIf(f: (Json) => Boolean): Option[Json]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from Json toDrxAny[Json] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (Json) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from Json toDrxAny[Json] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def sideEffect(f: (Json) => Unit): Json
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from Json toDrxAny[Json] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (Json) => Boolean): Option[Json]
- Implicit
- This member is added by an implicit conversion from Json toDrxAny[Json] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def split[T](key: String)(implicit parser: Parsable[T]): Vector[T]
- Definition Classes
- StringMap
- def split[T](key: String, sep: String)(implicit parser: Parsable[T]): Vector[T]
split
split
- Definition Classes
- StringMap
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val thisAny: Json
- Implicit
- This member is added by an implicit conversion from Json toDrxAny[Json] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def toList: List[(String, String)]
- Definition Classes
- StringMap
- final def toMap: Map[String, String]
- Definition Classes
- StringMap
- def toString(): String
- Definition Classes
- Json → AnyRef → Any
- 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
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def ?>(f: (Json) => Boolean): Option[Json]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from Json toDrxAny[Json] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) to many symbols are hard to undertand
- def mkPath(parent: String, child: String): String
- Definition Classes
- StringMap
- Annotations
- @deprecated
- Deprecated
(Since version dj) use mkPath with a list of Keys instead
- def |>[B](f: (Json) => B): B
- Implicit
- This member is added by an implicit conversion from Json toDrxAny[Json] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
preApply
if you must (symbols are concise without concision)
- def →[B](y: B): (Json, B)
- Implicit
- This member is added by an implicit conversion from Json toArrowAssoc[Json] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.