o

net.liftweb.json

JsonParser

object JsonParser

JSON parser.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonParser
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class BoolVal(value: Boolean) extends Token with Product with Serializable
  2. case class DisposableSegment(seg: Array[Char]) extends Segment with Product with Serializable
  3. case class DoubleVal(value: Double) extends Token with Product with Serializable
  4. case class FieldStart(name: String) extends Token with Product with Serializable
  5. case class IntVal(value: BigInt) extends Token with Product with Serializable
  6. class ParseException extends Exception
  7. class Parser extends AnyRef
  8. case class RecycledSegment(seg: Array[Char]) extends Segment with Product with Serializable
  9. sealed trait Segment extends AnyRef
  10. case class StringVal(value: String) extends Token with Product with Serializable
  11. sealed abstract class Token extends AnyRef

    Parsed tokens from low level pull parser.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def parse[A](s: Reader, p: (Parser) => A): A

    Parse in pull parsing style.

    Parse in pull parsing style. Use p.nextToken to parse tokens one by one from a stream. The Reader must be closed when parsing is stopped.

    See also

    net.liftweb.json.JsonParser.Token

  16. def parse[A](s: String, p: (Parser) => A): A

    Parse in pull parsing style.

    Parse in pull parsing style. Use p.nextToken to parse tokens one by one from a string.

    See also

    net.liftweb.json.JsonParser.Token

  17. def parse(s: Reader, closeAutomatically: Boolean = true): JValue

    Return parsed JSON.

    Return parsed JSON.

    closeAutomatically

    true (default) if the Reader is automatically closed on EOF

    Exceptions thrown

    ParseException is thrown if parsing fails

  18. def parse(s: String): JValue

    Return parsed JSON.

    Return parsed JSON.

    Exceptions thrown

    ParseException is thrown if parsing fails

  19. def parseOpt(s: Reader, closeAutomatically: Boolean = true): Option[JValue]

    Return parsed JSON.

    Return parsed JSON.

    closeAutomatically

    true (default) if the Reader is automatically closed on EOF

  20. def parseOpt(s: String): Option[JValue]

    Return parsed JSON.

  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. case object CloseArr extends Token with Product with Serializable
  27. case object CloseObj extends Token with Product with Serializable
  28. case object End extends Token with Product with Serializable
  29. case object NullVal extends Token with Product with Serializable
  30. case object OpenArr extends Token with Product with Serializable
  31. case object OpenObj extends Token with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped