There was an error while loading. Please reload this page.
2 parents c6b3ddd + 977e238 commit fde3a0fCopy full SHA for fde3a0f
1 file changed
README.md
@@ -64,8 +64,7 @@ The properties that can be supplied on the options object or evaluate method (as
64
- ***JSONPath.toPathArray(pathAsString)*** - Accepts a normalized or unnormalized path as string and converts to an array.
65
- ***JSONPath.toPathString(pathAsArray)*** - Accepts a path array and converts to a normalized path string.
66
67
-Syntax with examples
68
---------
+# Syntax through examples
69
70
Given the following JSON, taken from http://goessner.net/articles/JsonPath/ :
71
@@ -189,6 +188,14 @@ from 0), whereas in XPath, they are 1-based.
189
188
1. In JSONPath, equality tests utilize (as per JavaScript) multiple equal signs
190
whereas in XPath, they use a single equal sign.
191
+# Todos
192
+
193
+1. Support non-eval version (which supports parenthetical evaluations)
194
+1. Support OR outside of filters (as in XPath `|`).
195
+1. Create syntax to work like XPath filters in not selecting children?
196
+1. Allow for type-based searches to be JSON Schema aware
197
+1. Pull or streaming parser?
198
199
# Development
200
201
Running the tests on node: `npm test`. For in-browser tests:
0 commit comments