code: public PactDslJsonArray eachLike(PactDslJsonRootValue value, int numberExamples) {
      if (numberExamples == 0) {
        throw new IllegalArgumentException("Testing Zero examples is unsafe. Please make sure to provide at least one " +
          "example in the Pact provider implementation. See https://github.com/DiUS/pact-jvm/issues/546");
      }
  
      matchers.addRule(rootPath + appendArrayIndex(1), matchMin(0));
      PactDslJsonArray parent = new PactDslJsonArray(rootPath, "", this, true);
      parent.setNumberExamples(numberExamples);
      parent.putObject(value);
      return (PactDslJsonArray) parent.closeArray();
    }
docs: Array of values that are not objects where each item must match the provided example
  @param value Value to use to match each item
  @param numberExamples number of examples to generate