Package

com.rojoma.json.v3

ast

Permalink

package ast

Visibility
  1. Public
  2. All

Type Members

  1. case class JArray(elems: Seq[JValue]) extends Iterable[JValue] with PartialFunction[Int, JValue] with JCompound with Product with Serializable

    Permalink

    A JSON array, implemented as a thin wrapper around a sequence of com.rojoma.json.v3.ast.JValues.

    A JSON array, implemented as a thin wrapper around a sequence of com.rojoma.json.v3.ast.JValues. In many ways this can be treated as a Seq, but it is in fact not one.

  2. sealed abstract class JAtom extends JValue

    Permalink

    A JSON "atom" — anything except arrays or objects.

    A JSON "atom" — anything except arrays or objects. This and com.rojoma.json.v3.ast.JCompound form a partition of the set of valid com.rojoma.json.v3.ast.JValues.

  3. case class JBoolean(boolean: Boolean) extends JAtom with Product with Serializable

    Permalink

    A boolean

  4. sealed trait JCompound extends JValue

    Permalink

    The common superclass of arrays and objects.

    The common superclass of arrays and objects. This and com.rojoma.json.v3.ast.JAtom form a partition of the set of valid com.rojoma.json.v3.ast.JValues.

  5. sealed abstract class JNull extends JAtom

    Permalink

    Null.

  6. sealed abstract class JNumber extends JAtom

    Permalink

    A number.

  7. case class JObject(fields: Map[String, JValue]) extends Iterable[(String, JValue)] with PartialFunction[String, JValue] with JCompound with Product with Serializable

    Permalink

    A JSON object, implemented as a thin wrapper around a map from String to com.rojoma.json.v3.ast.JValue.

    A JSON object, implemented as a thin wrapper around a map from String to com.rojoma.json.v3.ast.JValue. In many ways this can be treated as a Map, but it is in fact not one.

  8. case class JString(string: String) extends JAtom with Product with Serializable

    Permalink

    A JSON string.

    A JSON string. This does not yet enforce well-formedness with respect to surrogate pairs, but it probably should.

  9. sealed trait JValue extends AnyRef

    Permalink

    A JSON datum.

    A JSON datum. This can be safely downcast to a more-specific type using the cast method which is implicitly added to this class in the companion object.

  10. sealed abstract class Json[T <: JValue] extends AnyRef

    Permalink
  11. case class JsonInvalidDouble(value: Double) extends JsonInvalidValue with Product with Serializable

    Permalink
  12. case class JsonInvalidFloat(value: Float) extends JsonInvalidValue with Product with Serializable

    Permalink
  13. sealed abstract class JsonInvalidValue extends IllegalArgumentException

    Permalink
  14. sealed trait JsonType extends AnyRef

    Permalink

Value Members

  1. object JArray extends AbstractFunction1[Seq[JValue], JArray] with JsonType with Serializable

    Permalink
  2. object JAtom

    Permalink
  3. object JBoolean extends JBooleanApply with JsonType with Serializable

    Permalink
  4. object JCompound

    Permalink
  5. object JNull extends JNull with JsonType with Product with Serializable

    Permalink
  6. object JNumber extends JsonType

    Permalink
  7. object JObject extends AbstractFunction1[Map[String, JValue], JObject] with JsonType with Serializable

    Permalink
  8. object JString extends AbstractFunction1[String, JString] with JsonType with Serializable

    Permalink
  9. object JValue

    Permalink
  10. object JsonType

    Permalink

Ungrouped