p

donovan

json

package json

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

Type Members

  1. case class After(after: String) extends TimePredicate with JPredicate with Product with Serializable
  2. case class And(and: List[JPredicate]) extends JPredicate with Product with Serializable
  3. abstract class BaseNumOp extends AnyRef
  4. case class Before(before: String) extends TimePredicate with JPredicate with Product with Serializable
  5. sealed abstract class ComparablePredicate extends JPredicate
  6. case class DiffEntry(path: List[String], lhs: Json, rhs: Json) extends Product with Serializable
  7. case class Eq(eq: Json) extends JPredicate with Product with Serializable
  8. case class Gt(gt: Json) extends ComparablePredicate with Product with Serializable
  9. case class Gte(gte: Json) extends ComparablePredicate with Product with Serializable
  10. case class JArrayFind(arrayFind: JPredicate) extends JPart with Product with Serializable
  11. case class JConstantExpression(const: Option[Json]) extends JExpression with Product with Serializable
  12. sealed trait JExpression extends AnyRef

    Represents an operation given some input json.

    Represents an operation given some input json. This is a recursive data structure, where we might for example evaluate two different JPath locations from a json object to produce a result

    e.g.
    {
      x : 1
      y : 2
    }
    
    could be the input for an expression which evaluates 'sum' on the jpaths 'x' and 'y' to produce the json number 3
  13. case class JField(name: String) extends JPart with Product with Serializable
  14. case class JFilter(field: String, predicate: JPredicate) extends JPart with Product with Serializable
  15. case class JIncludes(elements: Set[Json]) extends JPredicate with Product with Serializable
  16. case class JMergeExpression(lhs: JExpression, rhs: JExpression) extends JExpression with Product with Serializable
  17. case class JNumericExpression(lhs: JExpression, rhs: JExpression, op: NumOp) extends JExpression with Product with Serializable
  18. sealed trait JPart extends AnyRef

    Represents part of a jpath.

  19. case class JPath(path: List[JPart]) extends Product with Serializable
  20. case class JPathExpression(select: JPath) extends JExpression with Product with Serializable
  21. case class JPos(pos: Int) extends JPart with Product with Serializable
  22. sealed trait JPredicate extends AnyRef

    Represents something which can match some Json

  23. case class JRegex(regex: String) extends JPredicate with Product with Serializable
  24. case class JStringExpression(lhs: JExpression, rhs: JExpression, op: StrOp) extends JExpression with Product with Serializable
  25. sealed trait JType extends AnyRef

    A class representing the available json types

  26. case class JsonDelta(remove: List[JPath] = Nil, append: Json = Json.Null) extends Product with Serializable
  27. case class JsonDiff(deltas: List[DiffEntry]) extends Product with Serializable
  28. case class Lt(lt: Json) extends ComparablePredicate with Product with Serializable
  29. case class Lte(lte: Json) extends ComparablePredicate with Product with Serializable
  30. case class Not(not: JPredicate) extends JPredicate with Product with Serializable
  31. sealed trait NumOp extends AnyRef
  32. case class Or(or: List[JPredicate]) extends JPredicate with Product with Serializable
  33. implicit final class RichDec[T] extends AnyVal
  34. final case class RichJsonOps(json: Json) extends AnyVal with Product with Serializable
  35. trait StrOp extends AnyRef

    Represents an operation on the values of two strings, presumably obtained in turn from evaluating some json, but that's not strictly necessary.

  36. case class TestPredicate(select: JPath, test: JPredicate) extends JPredicate with Product with Serializable
  37. abstract class TimePredicate extends AnyRef
  38. type TypeByPath = (List[String], JType)
  39. sealed trait TypeNode extends AnyRef

    Represents the type for a particular path

  40. case class TypeNodeArray(children: Vector[TypeNode]) extends TypeNode with Product with Serializable
  41. case class TypeNodeObject(children: Map[String, TypeNode]) extends TypeNode with Product with Serializable
  42. case class TypeNodeValue(type: JType) extends TypeNode with Product with Serializable
  43. type TypesByPath = Vector[TypeByPath]
  44. type ValuePath = Seq[String]

Value Members

  1. val JsonDiffAsDeltas: DataDiff[Json, Json]
  2. def deepMergeWithArrayConcat(targetJson: Json, jsonToAdd: Json): Json
  3. def jsonSelectorForPath(path: JPath): FieldSelector[Json, Json]
  4. def newTypesByPath(): Vector[(List[String], JType)]
  5. object AddOp extends BaseNumOp with NumOp with Product with Serializable
  6. object After extends Serializable
  7. object And extends Serializable
  8. object Before extends Serializable
  9. object ConcatString extends StrOp with Product with Serializable
  10. object DiffEntry extends Serializable
  11. object DivideOp extends BaseNumOp with NumOp with Product with Serializable
  12. object Eq extends Serializable
  13. object Gt extends Serializable
  14. object Gte extends Serializable
  15. object JArrayFind extends Serializable
  16. object JConstantExpression extends Serializable
  17. object JExpression
  18. object JField extends Serializable
  19. object JFilter extends Serializable
  20. object JIncludes extends Serializable
  21. object JMergeExpression extends Serializable
  22. object JNumericExpression extends Serializable
  23. object JPart
  24. object JPath extends Serializable
  25. object JPathExpression extends Serializable
  26. object JPos extends Serializable
  27. object JPredicate
  28. object JRegex extends Serializable
  29. object JStringExpression extends Serializable
  30. object JType
  31. object JsonDelta extends Serializable
  32. object JsonDiff extends Serializable
  33. object JsonDiffAsDataDiff extends DataDiff[Json, JsonDiff]
  34. object JsonDiffIsEmpty extends IsEmpty[JsonDiff]
  35. object JsonSemigroup extends Semigroup[Json]
  36. object Lt extends Serializable
  37. object Lte extends Serializable
  38. object MatchAll extends JPredicate with Product with Serializable
  39. object MatchNone extends JPredicate with Product with Serializable
  40. object ModuloOp extends BaseNumOp with NumOp with Product with Serializable
  41. object MultiplyOp extends BaseNumOp with NumOp with Product with Serializable
  42. object Not extends Serializable
  43. object NumOp
  44. object Or extends Serializable
  45. object RichJsonOps extends Serializable
  46. object StrOp
  47. object StrippedJsonDiff extends DataDiff[Json, Json]
  48. object SubstractOp extends BaseNumOp with NumOp with Product with Serializable
  49. object TestPredicate extends Serializable
  50. object TypeNode
  51. implicit object TypesByPathSemigroup extends Semigroup[TypesByPath]
  52. object ValuesByPath

Inherited from AnyRef

Inherited from Any

Ungrouped