org.json4s.native

JsonParser

object JsonParser

JSON parser.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JsonParser
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
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. class Parser extends AnyRef

  7. case class StringVal(value: String) extends Token with Product with Serializable

  8. 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. object CloseArr extends Token with Product with Serializable

  5. object CloseObj extends Token with Product with Serializable

  6. object End extends Token with Product with Serializable

  7. object NullVal extends Token with Product with Serializable

  8. object OpenArr extends Token with Product with Serializable

  9. object OpenObj extends Token with Product with Serializable

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

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

    Definition Classes
    AnyRef
  21. 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

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

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

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

  25. def parse(s: java.io.Reader, closeAutomatically: Boolean = true, useBigDecimalForDouble: Boolean = false): 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

    Exceptions thrown
    ParseException

    is thrown if parsing fails

  26. def parse(s: String, useBigDecimalForDouble: Boolean): JValue

    Return parsed JSON.

    Return parsed JSON.

    Exceptions thrown
    ParseException

    is thrown if parsing fails

  27. def parse(s: String): JValue

    Return parsed JSON.

    Return parsed JSON.

    Exceptions thrown
    ParseException

    is thrown if parsing fails

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

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

    Return parsed JSON.

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

    Return parsed JSON.

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped