private Object readArrayValue() throws IOException, JSONException {
    Object obj = this.readValue();
    int c = this.skipWSRead();
    if (c == JSON.VALUE_SEPARATOR || c == JSON.END_ARRAY) {
      if (c == JSON.END_ARRAY)
        this.unread(c);
      return obj;
    }
    else {
      String message = String.format(this.bundle.getString("ILLEGAL_CHARACTER"), (char)c);
      throw this.syntaxException(message);
    }
  }