object JsonParser
JSON parser.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JsonParser
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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
-
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
-
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
-
def
parse(s: String): JValue
Return parsed JSON.
Return parsed JSON.
- Exceptions thrown
ParseException
is 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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object CloseArr extends Token with Product with Serializable
- object CloseObj extends Token with Product with Serializable
- object End extends Token with Product with Serializable
- object NullVal extends Token with Product with Serializable
- object OpenArr extends Token with Product with Serializable
- object OpenObj extends Token with Product with Serializable