Skip to content

Commit 8d3def9

Browse files
authored
Make JsonReader.locationString public (#4)
This is necessary for changing loader to use this library rather than json5 ([JsonLoaderValue#L47](https://github.com/QuiltMC/quilt-loader/blob/develop/src/main/java/org/quiltmc/loader/impl/metadata/qmj/JsonLoaderValue.java#L47) uses this, for example).
1 parent 7254616 commit 8d3def9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

json/src/main/java/org/quiltmc/parsers/json/JsonReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1575,7 +1575,7 @@ private boolean skipTo(String toFind) throws IOException {
15751575
return false;
15761576
}
15771577

1578-
String locationString() {
1578+
public String locationString() {
15791579
int line = lineNumber + 1;
15801580
int column = pos - lineStart + 1;
15811581
return " at line " + line + " column " + column + " path " + path();

0 commit comments

Comments
 (0)