@Deprecated
  public int getOffset() {
    return location.offset;
  }
Returns the absolute character index at which the error occurred. The offset of the first
character of a document is 0.

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