Packages

class Kson extends Cached

Source
kson.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Kson
  2. Cached
  3. StringMap
  4. AnyRef
  5. Any
Implicitly
  1. by richDrxAny
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Kson(unscopedLines: Vector[KsonLine])

Value Members

  1. def ++(that: Kson): Kson
  2. def /(symbol: Symbol): Scoped
    Definition Classes
    StringMap
  3. def /(name: String): Scoped
    Definition Classes
    StringMap
  4. def <<(shift: Int): Kson
  5. def >>(shift: Int): Kson
  6. 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
  7. def applyIf(t: Boolean, f: (Kson) => Kson): Kson
    Implicit
    This member is added by an implicit conversion from Kson toDrxAny[Kson] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  8. def applyIf(t: (Kson) => Boolean)(f: (Kson) => Kson): Kson

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Kson toDrxAny[Kson] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  9. final def contains(key: String): Boolean
    Definition Classes
    StringMap
  10. def elementOf(xs: Set[Kson]): Boolean
    Implicit
    This member is added by an implicit conversion from Kson toDrxAny[Kson] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  11. lazy val forest: Forest[MTree[KsonLine]]
  12. final def get[T](key: String)(implicit parser: Parsable[T]): Option[T]

    get a key while parsing it via to a viable type inference value and caching it as so

    get a key while parsing it via to a viable type inference value and caching it as so

    Definition Classes
    CachedStringMap
  13. 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
  14. 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
  15. def get[A, B](keyA: String, keyB: String)(implicit parserA: Parsable[A], parserB: Parsable[B]): Option[(A, B)]
    Definition Classes
    StringMap
  16. final def getOrElse[T](key: String, default: T)(implicit parser: Parsable[T]): T
    Definition Classes
    StringMap
  17. final def getString(key: String): Option[String]

    specialized get method for strings so parsing is not required (this also provides a cache mechanism without type encoding)

    specialized get method for strings so parsing is not required (this also provides a cache mechanism without type encoding)

    Definition Classes
    CachedStringMap
  18. def getStringNoCache(key: String): Option[String]
    Definition Classes
    KsonCached
  19. def interpolate(s: String): String
  20. lazy val interpolated: Kson
  21. lazy val keys: List[String]

    list of the available keys (the sort order provides listing features)

    list of the available keys (the sort order provides listing features)

    Definition Classes
    KsonStringMap
  22. lazy val lines: List[KsonLine]
  23. def mergeWith(that: StringMap): StringMap
    Definition Classes
    StringMap
  24. lazy val merged: Map[String, String]
  25. 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
  26. def noneIf(f: (Kson) => Boolean): Option[Kson]
    Implicit
    This member is added by an implicit conversion from Kson toDrxAny[Kson] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  27. def optionIf(f: (Kson) => Boolean): Option[Kson]

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from Kson toDrxAny[Kson] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  28. def preApply[B](f: (Kson) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from Kson toDrxAny[Kson] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  29. def sideEffect(f: (Kson) => Unit): Kson

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Kson toDrxAny[Kson] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  30. def someIf(f: (Kson) => Boolean): Option[Kson]
    Implicit
    This member is added by an implicit conversion from Kson toDrxAny[Kson] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  31. final def split[T](key: String, sep: String)(implicit parser: Parsable[T]): Vector[T]

    split

    split

    Definition Classes
    CachedStringMap
  32. final def split[T](key: String)(implicit parser: Parsable[T]): Vector[T]
    Definition Classes
    CachedStringMap
  33. val thisAny: Kson
    Implicit
    This member is added by an implicit conversion from Kson toDrxAny[Kson] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  34. def toByteArray: Array[Byte]
  35. def toList: List[(String, String)]
    Definition Classes
    StringMap
  36. final def toMap: Map[String, String]
    Definition Classes
    StringMap
  37. def toString(): String
    Definition Classes
    Kson → AnyRef → Any
  38. val unscopedLines: Vector[KsonLine]

Deprecated Value Members

  1. def ?>(f: (Kson) => Boolean): Option[Kson]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from Kson toDrxAny[Kson] 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

  2. def mkPath(parent: String, child: String): String
    Definition Classes
    StringMap
    Annotations
    @deprecated
    Deprecated

    (Since version dj) use mkPath with a list of Keys instead

  3. def |>[B](f: (Kson) => B): B
    Implicit
    This member is added by an implicit conversion from Kson toDrxAny[Kson] 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)