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
Copy file name to clipboardExpand all lines: docs/advanced.md
+20-1
Original file line number
Diff line number
Diff line change
@@ -193,7 +193,26 @@ This table shows all available identifier token attributes.
193
193
194
194
### Logical Operator Tokens
195
195
196
-
TODO:
196
+
By default, we accept both Python and C-style logical operators in filter expressions. That is, `not` and `!` are equivalent, `and` and `&&` are equivalent and `or` and `||` are equivalent. You can change this using class attributes on a [`Lexer`](custom_api.md#jsonpath.lex.Lexer) subclass and setting the `lexer_class` attribute on a `JSONPathEnvironment`.
197
+
198
+
This example changes all three logical operators to strictly match the JSONPath spec.
0 commit comments