mirror of
https://github.com/stleary/JSON-java.git
synced 2026-01-24 00:03:17 -05: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