Class IsJsonArray

  • All Implemented Interfaces:
    org.hamcrest.Matcher<com.fasterxml.jackson.databind.JsonNode>, org.hamcrest.SelfDescribing

    public class IsJsonArray
    extends AbstractJsonNodeMatcher<com.fasterxml.jackson.databind.node.ArrayNode>
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void describeTo​(org.hamcrest.Description description)  
      static org.hamcrest.Matcher<com.fasterxml.jackson.databind.JsonNode> jsonArray()  
      static org.hamcrest.Matcher<com.fasterxml.jackson.databind.JsonNode> jsonArray​(com.fasterxml.jackson.databind.node.ArrayNode value)  
      static org.hamcrest.Matcher<com.fasterxml.jackson.databind.JsonNode> jsonArray​(org.hamcrest.Matcher<? super java.util.Collection<? extends com.fasterxml.jackson.databind.JsonNode>> elementsMatcher)  
      protected boolean matchesNode​(com.fasterxml.jackson.databind.node.ArrayNode node, org.hamcrest.Description mismatchDescription)  
      • Methods inherited from class org.hamcrest.TypeSafeDiagnosingMatcher

        describeMismatch, matches
      • Methods inherited from class org.hamcrest.BaseMatcher

        _dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • jsonArray

        public static org.hamcrest.Matcher<com.fasterxml.jackson.databind.JsonNode> jsonArray()
      • jsonArray

        public static org.hamcrest.Matcher<com.fasterxml.jackson.databind.JsonNode> jsonArray​(org.hamcrest.Matcher<? super java.util.Collection<? extends com.fasterxml.jackson.databind.JsonNode>> elementsMatcher)
      • jsonArray

        public static org.hamcrest.Matcher<com.fasterxml.jackson.databind.JsonNode> jsonArray​(com.fasterxml.jackson.databind.node.ArrayNode value)
      • matchesNode

        protected boolean matchesNode​(com.fasterxml.jackson.databind.node.ArrayNode node,
                                      org.hamcrest.Description mismatchDescription)
        Specified by:
        matchesNode in class AbstractJsonNodeMatcher<com.fasterxml.jackson.databind.node.ArrayNode>
      • describeTo

        public void describeTo​(org.hamcrest.Description description)