Skip to content

Commit

Permalink
Make JsonReader.locationString public, to allow loader to move to usi…
Browse files Browse the repository at this point in the history
…ng this instead of json5.
  • Loading branch information
AlexIIL committed Mar 8, 2024
1 parent 7254616 commit 25e97d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1575,7 +1575,7 @@ private boolean skipTo(String toFind) throws IOException {
return false;
}

String locationString() {
public String locationString() {
int line = lineNumber + 1;
int column = pos - lineStart + 1;
return " at line " + line + " column " + column + " path " + path();
Expand Down

0 comments on commit 25e97d5

Please sign in to comment.