object JsonParser
JSON parser.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JsonParser
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class BoolVal(value: Boolean) extends Token with Product with Serializable
- case class DisposableSegment(seg: Array[Char]) extends Segment with Product with Serializable
- case class DoubleVal(value: Double) extends Token with Product with Serializable
- case class FieldStart(name: String) extends Token with Product with Serializable
- case class IntVal(value: BigInt) extends Token with Product with Serializable
- class ParseException extends Exception
- class Parser extends AnyRef
- case class RecycledSegment(seg: Array[Char]) extends Segment with Product with Serializable
- sealed trait Segment extends AnyRef
- case class StringVal(value: String) extends Token with Product with Serializable
- sealed abstract class Token extends AnyRef
Parsed tokens from low level pull parser.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parse[A](s: Reader, p: (Parser) => A): A
Parse in pull parsing style.
Parse in pull parsing style. Use
p.nextTokento parse tokens one by one from a stream. The Reader must be closed when parsing is stopped.- See also
net.liftweb.json.JsonParser.Token
- def parse[A](s: String, p: (Parser) => A): A
Parse in pull parsing style.
Parse in pull parsing style. Use
p.nextTokento parse tokens one by one from a string.- See also
net.liftweb.json.JsonParser.Token
- 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
ParseExceptionis thrown if parsing fails
- def parse(s: String): JValue
Return parsed JSON.
Return parsed JSON.
- Exceptions thrown
ParseExceptionis thrown if parsing fails
- 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
- def parseOpt(s: String): Option[JValue]
Return parsed JSON.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- 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()
- case object CloseArr extends Token with Product with Serializable
- case object CloseObj extends Token with Product with Serializable
- case object End extends Token with Product with Serializable
- case object NullVal extends Token with Product with Serializable
- case object OpenArr extends Token with Product with Serializable
- case object OpenObj extends Token with Product with Serializable