@Deprecated
  public int getLine() {
    return location.line;
  }
Returns the line number in which the error occurred. The number of the first line is 1.

@return the line in which the error occurred, will be &gt;= 1
@deprecated Use {@link #getLocation()} instead
flatlaf-core/src/main/java/com/formdev/flatlaf/json/ParseException.java