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