code: public static JsonArray array(int... values) {
      if (values == null) {
        throw new NullPointerException(VALUES_IS_NULL);
      }
      JsonArray array = new JsonArray();
      for (int value : values) {
        array.add(value);
      }
      return array;
    }
docs: Creates a new JsonArray that contains the JSON representations of the given <code>int</code> values.
  
  @param values
  the values to be included in the new JSON array
  @return a new JSON array that contains the given values