mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-06 10:45:23 +08:00
added JSONObject#query() and JSONPointer#query() methods
This commit is contained in:
@@ -44,7 +44,7 @@ public class JSONPointer {
|
||||
.replace("\\\\", "\\");
|
||||
}
|
||||
|
||||
public Object queryFrom(JSONObject document) {
|
||||
public Object queryFrom(Object document) {
|
||||
if (refTokens.isEmpty()) {
|
||||
return document;
|
||||
}
|
||||
|
Reference in New Issue
Block a user