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 fromBoolean(boolean: Boolean): Any

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

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

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

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

    Definition Classes
    DataAst
  7. abstract def getBoolean(boolean: Any): Boolean

    Extracts a Boolean from the parsed JSON.

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

    Extracts a Double from the parsed JSON.

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

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

    Extracts a String from the parsed JSON.

    Extracts a String from the parsed JSON.

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

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

    Tests if the element represents a Boolean

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

    Tests if the element represents a null

  14. abstract def isNumber(any: Any): Boolean

    Tests if the element represents a number

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

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

    Tests if the element represents a String

    Tests if the element represents a String

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

    The value used to represent a null

Concrete 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( ... )
  6. def dereferenceArray(array: Any, element: Int): Any

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

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

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

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

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

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

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

    Definition Classes
    DataAst
  14. def getScalar(any: Any): Any

    Definition Classes
    JsonAst → DataAst
  15. def getType(any: Any): DataType

    Returns the DataType instance for the particular type.

  16. def hashCode(): Int

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

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

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

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

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

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

    Definition Classes
    AnyRef
  23. def toString(): String

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

    Attributes
    protected
  25. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DataAst

Inherited from AnyRef

Inherited from Any

Ungrouped