org.specs2.matcher

JsonMatchers

trait JsonMatchers extends JsonBaseMatchers with JsonBaseBeHaveMatchers

Matchers for Json expressions (entered as strings)

Linear Supertypes
JsonBaseBeHaveMatchers, JsonBaseMatchers, JsonMatchersImplicits, JsonMatchersLowImplicits, JsonSelectors, Expectations, CanBeEqual, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JsonMatchers
  2. JsonBaseBeHaveMatchers
  3. JsonBaseMatchers
  4. JsonMatchersImplicits
  5. JsonMatchersLowImplicits
  6. JsonSelectors
  7. Expectations
  8. CanBeEqual
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class CanBeEqualExpectation[T] extends AnyRef

    Definition Classes
    CanBeEqual
  2. class Descriptible[T] extends AnyRef

    Definition Classes
    Expectations
  3. case class JsonEqualValueSelector(v: Any) extends JsonValueSelector with Product with Serializable

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

    This matcher can not be chained anymore with selections

    This matcher can not be chained anymore with selections

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

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

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

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

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

    Definition Classes
    JsonSelectors
  10. sealed trait JsonQueryType extends AnyRef

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

    Definition Classes
    JsonSelectors
  12. sealed trait JsonSelector extends AnyRef

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

    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
  14. case class JsonValueOrKeySelector(selector: JsonSelector) extends JsonSelector with Product with Serializable

    Definition Classes
    JsonSelectors
  15. trait JsonValueSelector extends JsonSelector

    Definition Classes
    JsonSelectors
  16. class NotMatcherJson extends AnyRef

    Definition Classes
    JsonBaseBeHaveMatchers
  17. trait ToJsonSelector[T] extends AnyRef

    Definition Classes
    JsonMatchersLowImplicits

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. def */(selector: JsonSelector): JsonSelectorMatcher

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

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

    Definition Classes
    JsonBaseMatchers
  7. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  9. object Deep extends JsonQueryType with Product with Serializable

    Definition Classes
    JsonSelectors
  10. object First extends JsonQueryType with Product with Serializable

    Definition Classes
    JsonSelectors
  11. object JsonMatcher

    Definition Classes
    JsonBaseMatchers
  12. object ToJsonSelector

    Definition Classes
    JsonMatchersImplicits
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. implicit def booleanToJsonSelector: ToJsonSelector[Boolean]

    Definition Classes
    JsonMatchersLowImplicits
  15. implicit def canBeEqual[T](t: ⇒ T): CanBeEqualExpectation[T]

    A value can be tested against another with the === operator.

    A value can be tested against another with the === operator. It is equivalent to writing a must_== b

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

    this method can be overriden to throw exceptions when checking the match result

    this method can be overriden to throw exceptions when checking the match result

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

    this method can be overriden to throw exceptions when checking the match result

    this method can be overriden to throw exceptions when checking the match result

    Attributes
    protected
    Definition Classes
    Expectations
  18. def checkResultFailure(r: Result): Result

    this method can be overriden to throw exceptions when checking the result

    this method can be overriden to throw exceptions when checking the result

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

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

    returns

    an Expectable with a description function

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

    returns

    an Expectable with a description function

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

    returns

    an Expectable with a description

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

    returns

    an Expectable

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

    returns

    an Expectable with a function to show the element T

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

    describe a value with the aka method

    describe a value with the aka method

    Definition Classes
    Expectations
  26. implicit def doubleToJsonSelector: ToJsonSelector[Double]

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  32. def have(m: Matcher[JsonType]): JsonMatcher

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

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

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

    this method can be overriden to intercept a MatchResult and change its message before it is thrown

    this method can be overriden to intercept a MatchResult and change its message before it is thrown

    Attributes
    protected
    Definition Classes
    Expectations
  36. implicit def matcherToJsonSelector[M <: Matcher[String]]: ToJsonSelector[M]

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

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

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

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

    Definition Classes
    JsonMatchersImplicits
  41. implicit def stringMatcherToJsonSelector: ToJsonSelector[Matcher[String]]

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

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

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

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

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

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

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

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

    datatype to specify how json values must be checked

    datatype to specify how json values must be checked

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

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

    Definition Classes
    JsonBaseBeHaveMatchers
  52. def toString(): String

    Definition Classes
    AnyRef → Any
  53. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JsonBaseBeHaveMatchers

Inherited from JsonBaseMatchers

Inherited from JsonMatchersImplicits

Inherited from JsonMatchersLowImplicits

Inherited from JsonSelectors

Inherited from Expectations

Inherited from CanBeEqual

Inherited from AnyRef

Inherited from Any

Ungrouped