net.liftweb.util

JSONParser

object JSONParser extends SafeSeqParser with ImplicitConversions

Annotations
@deprecated
Deprecated

(Since version 2.5) Use lift-json instead

Linear Supertypes
ImplicitConversions, SafeSeqParser, Parsers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. JSONParser
  2. ImplicitConversions
  3. SafeSeqParser
  4. Parsers
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Type Members

  1. type Elem = Char

    Definition Classes
    JSONParser → Parsers
  2. type Input = Reader[Elem]

    Definition Classes
    Parsers

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def OnceParser[T](f: (Input) ⇒ ParseResult[T]): Parser[T] with OnceParser[T]

    Definition Classes
    Parsers
  7. def Parser[T](f: (Input) ⇒ ParseResult[T]): Parser[T]

    Definition Classes
    Parsers
  8. def accept[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]

    Definition Classes
    Parsers
  9. def accept[ES](es: ES)(implicit arg0: (ES) ⇒ List[Elem]): Parser[List[Elem]]

    Definition Classes
    Parsers
  10. implicit def accept(e: Elem): Parser[Elem]

    Definition Classes
    Parsers
  11. def acceptIf(p: (Elem) ⇒ Boolean)(err: (Elem) ⇒ String): Parser[Elem]

    Definition Classes
    Parsers
  12. def acceptMatch[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]

    Definition Classes
    Parsers
  13. def acceptSeq[ES](es: ES)(implicit arg0: (ES) ⇒ Iterable[Elem]): Parser[List[Elem]]

    Definition Classes
    Parsers
  14. lazy val achar: Parser[Char]

  15. lazy val anInt: Parser[Long]

  16. lazy val array: Parser[List[Any]]

  17. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  18. lazy val bchar: Parser[Char]

  19. def chainl1[T, U](first: ⇒ Parser[T], p: ⇒ Parser[U], q: ⇒ Parser[(T, U) ⇒ T]): Parser[T]

    Definition Classes
    Parsers
  20. def chainl1[T](p: ⇒ Parser[T], q: ⇒ Parser[(T, T) ⇒ T]): Parser[T]

    Definition Classes
    Parsers
  21. def chainr1[T, U](p: ⇒ Parser[T], q: ⇒ Parser[(T, U) ⇒ U], combine: (T, U) ⇒ U, first: U): Parser[U]

    Definition Classes
    Parsers
  22. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. def commit[T](p: ⇒ Parser[T]): Parser[T]

    Definition Classes
    Parsers
  24. lazy val digit: Parser[Elem]

  25. lazy val digit19: Parser[Elem]

  26. lazy val digits: Parser[List[Elem]]

  27. lazy val e: Parser[Int]

  28. def elem(e: Elem): Parser[Elem]

    Definition Classes
    Parsers
  29. def elem(kind: String, p: (Elem) ⇒ Boolean): Parser[Elem]

    Definition Classes
    Parsers
  30. lazy val elements: Parser[List[Any]]

  31. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  33. def err(msg: String): Parser[Nothing]

    Definition Classes
    Parsers
  34. lazy val exp: Parser[Int]

  35. def failure(msg: String): Parser[Nothing]

    Definition Classes
    Parsers
  36. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  37. implicit def flatten2[A, B, C](f: (A, B) ⇒ C): (~[A, B]) ⇒ C

    Definition Classes
    ImplicitConversions
  38. implicit def flatten3[A, B, C, D](f: (A, B, C) ⇒ D): (~[~[A, B], C]) ⇒ D

    Definition Classes
    ImplicitConversions
  39. implicit def flatten4[A, B, C, D, E](f: (A, B, C, D) ⇒ E): (~[~[~[A, B], C], D]) ⇒ E

    Definition Classes
    ImplicitConversions
  40. implicit def flatten5[A, B, C, D, E, F](f: (A, B, C, D, E) ⇒ F): (~[~[~[~[A, B], C], D], E]) ⇒ F

    Definition Classes
    ImplicitConversions
  41. lazy val frac: Parser[String]

  42. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  43. def guard[T](p: ⇒ Parser[T]): Parser[T]

    Definition Classes
    Parsers
  44. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  45. implicit def headOptionTailToFunList[A, T](f: (List[A]) ⇒ T): (~[A, Option[List[A]]]) ⇒ T

    Definition Classes
    ImplicitConversions
  46. lazy val hexDigit: Parser[Elem]

  47. lazy val intExp: Parser[Double]

  48. lazy val intFrac: Parser[Double]

  49. lazy val intFracExp: Parser[Double]

  50. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  51. lazy val isfalse: Parser[Boolean]

  52. lazy val isnull: Parser[net.liftweb.common.Empty.type]

  53. lazy val istrue: Parser[Boolean]

  54. lazy val jsonObject: Parser[Map[String, Any]]

  55. var lastNoSuccess: NoSuccess

    Definition Classes
    Parsers
  56. def log[T](p: ⇒ Parser[T])(name: String): Parser[T]

    Definition Classes
    Parsers
  57. lazy val manyCharInt: Parser[Double]

  58. lazy val members: Parser[List[(String, Any)]]

  59. def mkList[T]: (~[T, List[T]]) ⇒ List[T]

    Definition Classes
    Parsers
  60. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  61. def not[T](p: ⇒ Parser[T]): Parser[Unit]

    Definition Classes
    Parsers
  62. final def notify(): Unit

    Definition Classes
    AnyRef
  63. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  64. lazy val number: Parser[Double]

  65. def opt[T](p: ⇒ Parser[T]): Parser[Option[T]]

    Definition Classes
    Parsers
  66. lazy val pair: Parser[(String, Any)]

  67. def pairChar(in: Char): Boolean

  68. lazy val pairId: Parser[String]

  69. def parse(in: String): Box[Any]

    Parse a JSON structure.

    Parse a JSON structure. A JSON structure is a JSON array or JSON object (which may contain other arrays or objects). See http://json.org for details about the JSON format.

    In the parsed results, each JSON object is returned as a Map[String,Any] that maps JSON object names to JSON values. Each JSON array is returned as and a List[Any] that contains JSON objects and/or JSON arrays.

    returns

    a Box containig the root JSON object or JSON array.

  70. def phrase[T](p: Parser[T]): Parser[T]

    Definition Classes
    Parsers
  71. def positioned[T <: Positional](p: ⇒ Parser[T]): Parser[T]

    Definition Classes
    Parsers
  72. def rep[T](p: ⇒ Parser[T]): Parser[List[T]]

    Definition Classes
    Parsers
  73. def rep1[T](first: ⇒ Parser[T], p: ⇒ Parser[T]): Parser[List[T]]

    A parser generator for non-empty repetitions.

    A parser generator for non-empty repetitions.

    rep1(f, p) first uses f' (which must succeed) and then repeatedly uses p' to parse the input until p' fails (the result is a List' of the consecutive results of f' and p')

    first

    a Parser' that parses the first piece of input

    p

    a Parser' that is to be applied successively to the rest of the input (if any)

    returns

    A parser that returns a list of results produced by first applying f' and then repeatedly p' to the input (it only succeeds if f' matches).

    Definition Classes
    SafeSeqParser → Parsers
  74. def rep1[T](p: ⇒ Parser[T]): Parser[List[T]]

    Definition Classes
    Parsers
  75. def rep1sep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]

    A parser generator for non-empty repetitions.

    A parser generator for non-empty repetitions.

    rep1sep(first, p, q) starts by using first', followed by repeatedly uses of p' interleaved with q' to parse the input, until p' fails. first' must succeed (the result is a List' of the consecutive results of first' and p')

    p

    a Parser' that is to be applied successively to the input

    q

    a Parser' that parses the elements that separate the elements parsed by p' (interleaved with q')

    returns

    A parser that returns a list of results produced by repeatedly applying p' to the input (and that only succeeds if p' matches at least once). The results of p' are collected in a list. The results of q' are discarded.

    Definition Classes
    SafeSeqParser → Parsers
  76. def repN[T](num: Int, p: ⇒ Parser[T]): Parser[List[T]]

    Definition Classes
    Parsers
  77. def repsep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]

    Definition Classes
    Parsers
  78. lazy val spaces: Parser[List[Elem]]

  79. implicit def strToInput(in: String): Input

  80. lazy val string: Parser[String]

  81. def success[T](v: T): Parser[T]

    Definition Classes
    Parsers
  82. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  83. lazy val theValue: Parser[Any]

  84. def toString(): String

    Definition Classes
    AnyRef → Any
  85. def unapply(in: Any): Option[Any]

  86. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  87. final def wait(arg0: Long, arg1: Int): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  89. lazy val whitespace: Parser[Elem]

Inherited from ImplicitConversions

Inherited from SafeSeqParser

Inherited from Parsers

Inherited from AnyRef

Inherited from Any