mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 03:15:32 -04:00
fixing #291
This commit is contained in:
parent
c24be0e4ea
commit
e0616a129e
@ -138,7 +138,7 @@ public class JSONPointer {
|
||||
if (pointer == null) {
|
||||
throw new NullPointerException("pointer cannot be null");
|
||||
}
|
||||
if (pointer.isEmpty()) {
|
||||
if (pointer.isEmpty() || pointer.equals("#")) {
|
||||
refTokens = Collections.emptyList();
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user