Trait

org.specs2.matcher

JsonMatchers

Related Doc: package matcher

Permalink

trait JsonMatchers extends JsonBaseMatchers with JsonBaseBeHaveMatchers

Matchers for Json expressions (entered as strings)

Linear Supertypes
JsonBaseBeHaveMatchers, BeHaveMatchers, JsonBaseMatchers, JsonMatchersImplicits, JsonMatchersLowImplicits, JsonSelectors, Expectations, ExpectationsDescription, TypedEqual, ExpectationsCreation, MatchResultStackTrace, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonMatchers
  2. JsonBaseBeHaveMatchers
  3. BeHaveMatchers
  4. JsonBaseMatchers
  5. JsonMatchersImplicits
  6. JsonMatchersLowImplicits
  7. JsonSelectors
  8. Expectations
  9. ExpectationsDescription
  10. TypedEqual
  11. ExpectationsCreation
  12. MatchResultStackTrace
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Descriptible[T] extends AnyRef

    Permalink
    Definition Classes
    ExpectationsDescription
  2. class ExpectationDescription extends AnyRef

    Permalink
    Definition Classes
    ExpectationsDescription
  3. case class JsonDoubleSelector(d: Double) extends JsonValueSelector with Product with Serializable

    Permalink
    Definition Classes
    JsonSelectors
  4. case class JsonEqualValueSelector(v: Any) extends JsonValueSelector with Product with Serializable

    Permalink
    Definition Classes
    JsonSelectors
  5. case class JsonFinalMatcher extends JsonMatcher with Product with Serializable

    Permalink

    This matcher can not be chained anymore with selections

    This matcher can not be chained anymore with selections

    Definition Classes
    JsonBaseMatchers
  6. case class JsonIndexSelector(n: Int) extends JsonSelector with Product with Serializable

    Permalink
    Definition Classes
    JsonSelectors
  7. case class JsonIntSelector(n: Int) extends JsonValueSelector with Product with Serializable

    Permalink
    Definition Classes
    JsonSelectors
  8. abstract class JsonMatcher extends Matcher[String]

    Permalink
    Definition Classes
    JsonBaseMatchers
  9. case class JsonMatcherSelector(m: Matcher[String]) extends JsonValueSelector with Product with Serializable

    Permalink
    Definition Classes
    JsonSelectors
  10. case class JsonPairSelector(_1: JsonSelector, _2: JsonSelector) extends JsonSelector with Product with Serializable

    Permalink
    Definition Classes
    JsonSelectors
  11. case class JsonQuery(query: JsonQueryType, selector: JsonSelector) extends Product with Serializable

    Permalink
    Definition Classes
    JsonSelectors
  12. sealed trait JsonQueryType extends AnyRef

    Permalink
    Definition Classes
    JsonSelectors
  13. case class JsonRegexSelector(r: Regex) extends JsonValueSelector with Product with Serializable

    Permalink
    Definition Classes
    JsonSelectors
  14. sealed trait JsonSelector extends AnyRef

    Permalink
    Definition Classes
    JsonSelectors
  15. case class JsonSelectorMatcher extends JsonMatcher with Product with Serializable

    Permalink

    This matcher can be chained to select further elements in the Json object

    This matcher can be chained to select further elements in the Json object

    Definition Classes
    JsonBaseMatchers
  16. case class JsonValueOrKeySelector(selector: JsonSelector) extends JsonSelector with Product with Serializable

    Permalink
    Definition Classes
    JsonSelectors
  17. trait JsonValueSelector extends JsonSelector

    Permalink
    Definition Classes
    JsonSelectors
  18. class NotMatcherJson extends AnyRef

    Permalink
    Definition Classes
    JsonBaseBeHaveMatchers
  19. trait ToJsonSelector[T] extends AnyRef

    Permalink
    Definition Classes
    JsonMatchersLowImplicits
  20. class TypedEqualExpectation[T] extends AnyRef

    Permalink
    Definition Classes
    TypedEqual

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def */(selector: JsonSelector): JsonSelectorMatcher

    Permalink
    Definition Classes
    JsonBaseMatchers
  4. def /(selector: JsonSelector): JsonSelectorMatcher

    Permalink
    Definition Classes
    JsonBaseMatchers
  5. def /#(n: Int): JsonSelectorMatcher

    Permalink
    Definition Classes
    JsonBaseMatchers
  6. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  7. object Deep extends JsonQueryType with Product with Serializable

    Permalink
    Definition Classes
    JsonSelectors
  8. object First extends JsonQueryType with Product with Serializable

    Permalink
    Definition Classes
    JsonSelectors
  9. object JsonMatcher

    Permalink
    Definition Classes
    JsonBaseMatchers
  10. object ToJsonSelector

    Permalink
    Definition Classes
    JsonMatchersImplicits
  11. val anyValue: Matcher[Any]

    Permalink
    Definition Classes
    JsonSelectors
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def be: NeutralMatcher[Any]

    Permalink
    Definition Classes
    BeHaveMatchers
  14. def beJsonNull: Matcher[JsonType]

    Permalink
    Definition Classes
    JsonBaseMatchers
  15. implicit def booleanToJsonSelector: ToJsonSelector[Boolean]

    Permalink
    Definition Classes
    JsonMatchersLowImplicits
  16. def checkFailure[T](m: MatchResult[T]): MatchResult[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  17. def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  18. def checkResultFailure(r: ⇒ Result): Result

    Permalink
    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  19. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]

    Permalink
    Definition Classes
    ExpectationsCreation
  21. def createExpectable[T](t: ⇒ T, alias: (String) ⇒ String): Expectable[T]

    Permalink
    Definition Classes
    ExpectationsCreation
  22. def createExpectable[T](t: ⇒ T, alias: ⇒ String): Expectable[T]

    Permalink
    Definition Classes
    ExpectationsCreation
  23. def createExpectable[T](t: ⇒ T): Expectable[T]

    Permalink
    Definition Classes
    ExpectationsCreation
  24. def createExpectableWithShowAs[T](t: ⇒ T, showAs: ⇒ String): Expectable[T]

    Permalink
    Definition Classes
    ExpectationsCreation
  25. implicit def describe[T](t: ⇒ T): Descriptible[T]

    Permalink
    Definition Classes
    ExpectationsDescription
  26. implicit def describeExpectation(description: String): ExpectationDescription

    Permalink
    Definition Classes
    ExpectationsDescription
  27. implicit def doubleToJsonSelector: ToJsonSelector[Double]

    Permalink
    Definition Classes
    JsonMatchersLowImplicits
  28. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  33. def have: NeutralMatcher[Any]

    Permalink
    Definition Classes
    BeHaveMatchers
  34. def have(m: Matcher[JsonType]): JsonMatcher

    Permalink
    Definition Classes
    JsonBaseMatchers
  35. implicit def intToJsonSelector: ToJsonSelector[Int]

    Permalink
    Definition Classes
    JsonMatchersLowImplicits
  36. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  37. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  38. implicit def matcherToJsonSelector[M <: Matcher[String]]: ToJsonSelector[M]

    Permalink
    Definition Classes
    JsonMatchersImplicits
  39. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  40. def not: NotMatcher[Any]

    Permalink
    Definition Classes
    BeHaveMatchers
  41. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  43. implicit def regexToJsonSelector: ToJsonSelector[Regex]

    Permalink
    Definition Classes
    JsonMatchersImplicits
  44. def sandboxMatchResult[T](mr: ⇒ MatchResult[T]): MatchResult[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  45. def setStacktrace[T](m: MatchResult[T]): MatchResult[T]

    Permalink
    Attributes
    protected
    Definition Classes
    MatchResultStackTrace
  46. implicit def stringMatcherToJsonSelector: ToJsonSelector[Matcher[String]]

    Permalink
    Definition Classes
    JsonMatchersImplicits
  47. implicit def stringToJsonSelector: ToJsonSelector[String]

    Permalink
    Definition Classes
    JsonMatchersLowImplicits
  48. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  49. implicit def toJsonSelectorPair[K, V](kv: (K, V))(implicit arg0: ToJsonSelector[K], arg1: ToJsonSelector[V]): JsonPairSelector

    Permalink
    Definition Classes
    JsonMatchersImplicits
  50. implicit def toJsonValueSelectorBooleanValue(b: Boolean): JsonSelector

    Permalink
    Definition Classes
    JsonMatchersImplicits
  51. implicit def toJsonValueSelectorDoubleValue(d: Double): JsonSelector

    Permalink
    Definition Classes
    JsonMatchersImplicits
  52. implicit def toJsonValueSelectorIntValue(i: Int): JsonSelector

    Permalink
    Definition Classes
    JsonMatchersImplicits
  53. implicit def toJsonValueSelectorRegex(r: Regex): JsonSelector

    Permalink
    Definition Classes
    JsonMatchersImplicits
  54. implicit def toJsonValueSelectorStringMatcher[M <: Matcher[String]](m: M): JsonSelector

    Permalink

    datatype to specify how json values must be checked

    datatype to specify how json values must be checked

    Definition Classes
    JsonMatchersImplicits
  55. implicit def toJsonValueSelectorStringValue(s: String): JsonSelector

    Permalink
    Definition Classes
    JsonMatchersImplicits
  56. implicit def toNotMatcherJson(result: NotMatcher[Any]): NotMatcherJson

    Permalink
    Definition Classes
    JsonBaseBeHaveMatchers
  57. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  58. implicit def typedEqualExpectation[T](t: ⇒ T): TypedEqualExpectation[T]

    Permalink
    Definition Classes
    TypedEqual
  59. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JsonBaseBeHaveMatchers

Inherited from BeHaveMatchers

Inherited from JsonBaseMatchers

Inherited from JsonMatchersImplicits

Inherited from JsonMatchersLowImplicits

Inherited from JsonSelectors

Inherited from Expectations

Inherited from ExpectationsDescription

Inherited from TypedEqual

Inherited from ExpectationsCreation

Inherited from MatchResultStackTrace

Inherited from AnyRef

Inherited from Any

Ungrouped