rapture.json

JsonAst

trait JsonAst extends DataAst

Represents a JSON ast implementation which is used throughout this library

Linear Supertypes
DataAst, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JsonAst
  2. DataAst
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def fromArray(array: Seq[Any]): Any

    Definition Classes
    DataAst
  2. abstract def fromBigDecimal(number: BigDecimal): Any

  3. abstract def fromBoolean(boolean: Boolean): Any

  4. abstract def fromDouble(number: Double): Any

  5. abstract def fromObject(obj: Map[String, Any]): Any

    Definition Classes
    DataAst
  6. abstract def fromString(string: String): Any

  7. abstract def getArray(array: Any): Seq[Any]

    Definition Classes
    DataAst
  8. abstract def getBigDecimal(number: Any): BigDecimal

    Extracts a BigDecimal from the parsed JSON.

  9. abstract def getBoolean(boolean: Any): Boolean

    Extracts a Boolean from the parsed JSON.

  10. abstract def getDouble(number: Any): Double

    Extracts a Double from the parsed JSON.

  11. abstract def getObject(obj: Any): Map[String, Any]

    Definition Classes
    DataAst
  12. abstract def getString(string: Any): String

    Extracts a String from the parsed JSON.

    Extracts a String from the parsed JSON.

    Definition Classes
    JsonAst → DataAst
  13. abstract def isArray(any: Any): Boolean

    Definition Classes
    DataAst
  14. abstract def isBoolean(any: Any): Boolean

    Tests if the element represents a Boolean

  15. abstract def isNull(any: Any): Boolean

    Tests if the element represents a null

    Tests if the element represents a null

    Definition Classes
    JsonAst → DataAst
  16. abstract def isNumber(any: Any): Boolean

    Tests if the element represents a number

  17. abstract def isObject(any: Any): Boolean

    Definition Classes
    DataAst
  18. abstract def isString(any: Any): Boolean

    Tests if the element represents a String

    Tests if the element represents a String

    Definition Classes
    JsonAst → DataAst
  19. abstract def nullValue: Any

    The value used to represent a null

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def convert(v: Any, ast: DataAst): Any

    Definition Classes
    JsonAst → DataAst
  9. def dereferenceArray(array: Any, element: Int): Any

    Definition Classes
    DataAst
  10. def dereferenceObject(obj: Any, element: String): Any

    Definition Classes
    DataAst
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def getChildren(obj: Any): Seq[Any]

    Definition Classes
    DataAst
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def getKeys(obj: Any): Iterator[String]

    Definition Classes
    DataAst
  17. def getType(any: Any): DataType

    Returns the DataType instance for the particular type.

  18. def hashCode(): Int

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

    Definition Classes
    Any
  20. def isScalar(any: Any): Boolean

    Definition Classes
    JsonAst → DataAst
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. def typeTest(pf: PartialFunction[Any, Unit])(v: Any): Boolean

    Attributes
    protected
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DataAst

Inherited from AnyRef

Inherited from Any

Ungrouped