Packages

o

org.json4s.native

JsonParser

object JsonParser

JSON parser.

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

Type Members

  1. case class BigDecimalVal(value: BigDecimal) extends Token with Product with Serializable
  2. case class BoolVal(value: Boolean) extends Token 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. case class LongVal(value: Long) extends Token with Product with Serializable
  7. class Parser extends AnyRef
  8. case class StringVal(value: String) extends Token with Product with Serializable
  9. 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[java.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[java.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: java.io.Reader, p: (Parser) => A, useBigDecimalForDouble: Boolean, useBigIntForLong: Boolean): 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

    org.json4s.JsonParser.Token

  16. def parse[A](s: java.io.Reader, p: (Parser) => A, useBigDecimalForDouble: Boolean): 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

    org.json4s.JsonParser.Token

  17. def parse[A](s: java.io.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

    org.json4s.JsonParser.Token

  18. def parse[A](s: String, p: (Parser) => A, useBigDecimalForDouble: Boolean): 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

    org.json4s.JsonParser.Token

  19. 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

    org.json4s.JsonParser.Token

  20. def parse(s: java.io.Reader, closeAutomatically: Boolean = true, useBigDecimalForDouble: Boolean = false, useBigIntForLong: Boolean = true): JValue

    Return parsed JSON.

    Return parsed JSON.

    closeAutomatically

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

    useBigDecimalForDouble

    true if double values need to be parsed as BigDecimal

    useBigIntForLong

    true if long values need to be parsed as BigInt

    Annotations
    @throws(scala.this.throws.<init>$default$1[org.json4s.ParserUtil.ParseException])
  21. def parse(s: String, useBigDecimalForDouble: Boolean, useBigIntForLong: Boolean): JValue

    Return parsed JSON.

    Return parsed JSON.

    Annotations
    @throws(scala.this.throws.<init>$default$1[org.json4s.ParserUtil.ParseException])
  22. def parse(s: String, useBigDecimalForDouble: Boolean): JValue

    Return parsed JSON.

    Return parsed JSON.

    Annotations
    @throws(scala.this.throws.<init>$default$1[org.json4s.ParserUtil.ParseException])
  23. def parse(s: String): JValue

    Return parsed JSON.

    Return parsed JSON.

    Annotations
    @throws(scala.this.throws.<init>$default$1[org.json4s.ParserUtil.ParseException])
  24. def parse(in: JsonInput, useBigDecimalForDouble: Boolean, useBigIntForLong: Boolean): JValue
  25. def parse(in: JsonInput, useBigDecimalForDouble: Boolean): JValue
  26. def parseOpt(s: java.io.Reader, closeAutomatically: Boolean = true, useBigDecimalForDouble: Boolean = false): Option[JValue]

    Return parsed JSON.

    Return parsed JSON.

    closeAutomatically

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

  27. def parseOpt(s: String, useBigDecimalForDouble: Boolean): Option[JValue]

    Return parsed JSON.

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

    Return parsed JSON.

  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. object CloseArr extends Token with Product with Serializable
  35. object CloseObj extends Token with Product with Serializable
  36. object End extends Token with Product with Serializable
  37. object NullVal extends Token with Product with Serializable
  38. object OpenArr extends Token with Product with Serializable
  39. object OpenObj extends Token with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped