@SuppressWarnings("unchecked")
    public IsJsonArray(Object... array) {
        for (Object o : array) {
            if (o instanceof Matcher) {
                matchers.add((Matcher<? super JsonNode>) o);
            } else if (o instanceof Integer) {
                matchers.add(isJsonInt((Integer) o));
            } else if (o instanceof Boolean) {
                matchers.add(isJsonBoolean((Boolean) o));
            } else if (o instanceof String) {
                matchers.add(isJsonText((String) o));
            } else {
                throw new IllegalArgumentException("Cannot create Json field matcher for type " + o.getClass());
            }
        }
    }