We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e85030 commit cdfce6bCopy full SHA for cdfce6b
README.md
@@ -46,7 +46,7 @@ The returned list is a subclass of `list` with some helper methods.
46
**Example:**
47
48
```python
49
-from jsonpath_rfc9535 import find
+import jsonpath_rfc9535 as jsonpath
50
51
value = {
52
"users": [
@@ -58,7 +58,7 @@ value = {
58
"moderator": "John",
59
}
60
61
-for node in find("$.users[?@.score > 85]", value):
+for node in jsonpath.find("$.users[?@.score > 85]", value):
62
print(f"{node.value} at '{node.path()}'")
63
64
# {'name': 'Sue', 'score': 100} at '$['users'][0]'
0 commit comments