docs: public String next(int n) throws JSONException {
  		if (n == 0) {
  			return "";
  		}
  
  		char[] chars = new char[n];
  		int pos = 0;
  		while (pos < n) {
  			chars[pos] = this.next();
  			if (this.end()) {
  				throw this.syntaxError("Substring bounds error");
  			}
  			pos += 1;
  		}
  		return new String(chars);
  	}