You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5
+
Permission is hereby granted, free of charge, to any person obtaining a copy
6
+
of this software and associated documentation files (the "Software"), to deal
7
+
in the Software without restriction, including without limitation the rights
8
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+
copies of the Software, and to permit persons to whom the Software is
10
+
furnished to do so, subject to the following conditions:
6
11
7
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
12
+
The above copyright notice and this permission notice shall be included in all
13
+
copies or substantial portions of the Software.
8
14
9
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
Copy file name to clipboardExpand all lines: README.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -276,16 +276,14 @@ This is a list of things that you might find in other JSONPath implementation th
276
276
- We don't support extension functions of the form `selector.func()`.
277
277
- We always return a list of matches from `jsonpath.findall()`, never a scalar value.
278
278
- We do not support arithmetic in filter expression.
279
-
- Python JSONPath is strictly read only. There are no update "selectors".
279
+
- Python JSONPath is strictly read only. There are no update "selectors", although a Python API for working with `JSONPathMatch`s may well be added in the future.
280
280
281
281
And this is a list of areas where we deviate from the [IETF JSONPath draft](https://datatracker.ietf.org/doc/html/draft-ietf-jsonpath-base-11).
282
282
283
-
- The built-in `match()` function uses Python's standard _re_ module, without attempting to map I-Regexps to it. A closer approximation of I-Regexps could be achieved by depending on the third-party [regex](https://pypi.org/project/regex/) package.
284
283
- We don't require filters that use a function extension to include a comparison operator.
285
284
- Whitespace is mostly insignificant unless inside quotes.
286
285
- The root token (default `$`) is optional.
287
286
- Paths starting with a dot (`.`) are OK. `.thing` is the same as `$.thing`, as is `thing`, `$[thing]` and `$["thing"]`.
288
-
- Nested filters are not supported.
289
287
290
288
And this is a list of features that are uncommon or unique to Python JSONPath.
Copy file name to clipboardExpand all lines: docs/syntax.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,16 +157,14 @@ This is a list of things that you might find in other JSONPath implementation th
157
157
- We don't support extension functions of the form `selector.func()`.
158
158
- We always return a list of matches from `jsonpath.findall()`, never a scalar value.
159
159
- We do not support arithmetic in filter expression.
160
-
- Python JSONPath is strictly read only. There are no update "selectors".
160
+
- Python JSONPath is strictly read only. There are no update "selectors", although a Python API for working with `JSONPathMatch`s may well be added in the future.
161
161
162
162
And this is a list of areas where we deviate from the [IETF JSONPath draft](https://datatracker.ietf.org/doc/html/draft-ietf-jsonpath-base-11).
163
163
164
-
- For now, the only built-in function extension is `length()`.
165
164
- We don't require filters that use a function extension to include a comparison operator.
166
165
- Whitespace is mostly insignificant unless inside quotes.
167
166
- The root token (default `$`) is optional.
168
167
- Paths starting with a dot (`.`) are OK. `.thing` is the same as `$.thing`, as is `thing`, `$[thing]` and `$["thing"]`.
169
-
- Nested filters are not supported.
170
168
171
169
And this is a list of features that are uncommon or unique to Python JSONPath.
0 commit comments