Class JsonEqualTo

java.lang.Object
org.hamcrest.BaseMatcher<io.github.eocqrs.eokson.Json>
io.github.eocqrs.json.matchers.JsonEqualTo
All Implemented Interfaces:
org.hamcrest.Matcher<io.github.eocqrs.eokson.Json>, org.hamcrest.SelfDescribing

public final class JsonEqualTo extends org.hamcrest.BaseMatcher<io.github.eocqrs.eokson.Json>
JSON Equality Expression Matcher.
Since:
0.0.0
Author:
Aliaksei Bialiauski ([email protected])
  • Constructor Details

    • JsonEqualTo

      public JsonEqualTo(io.github.eocqrs.eokson.Json jsn)
      Ctor.
      Parameters:
      jsn - JSON to compare
    • JsonEqualTo

      public JsonEqualTo(String jsn)
      Ctor.
      Parameters:
      jsn - JSON to compare
    • JsonEqualTo

      public JsonEqualTo(InputStream bytes)
      Ctor.
      Parameters:
      bytes - Bytes
  • Method Details

    • matches

      public boolean matches(Object json)
    • describeTo

      public void describeTo(org.hamcrest.Description description)