Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Extras
will be replaced by the JSONPath to it, giving automatic unique ids
to any piece of data. These ids will take into account any ids
already present as well.
- *Named operators*: Instead of using ``@`` to reference the currently
- *Named operators*: Instead of using ``@`` to reference the current
object, this library uses ```this```. In general, any string
contained in backquotes can be made to be a new operator, currently
by extending the library.
Expand All @@ -201,10 +201,10 @@ Extensions
| | - $.objects[\\some_field] |
| | - $.objects[\\some_field,/other_field] |
+--------------+----------------------------------------------+
| filter | - $.objects[?(@some_field > 5)] |
| | - $.objects[?some_field = "foobar")] |
| | - $.objects[?some_field =~ "foobar")] |
| | - $.objects[?some_field > 5 & other < 2)] |
| filter | - $.objects[?(@.some_field > 5)] |
| | - $.objects[?(@.some_field = "foobar")] |
| | - $.objects[?(@.some_field =~ "foobar")] |
| | - $.objects[?(@.some_field > 5 & other < 2)] |
+--------------+----------------------------------------------+
| arithmetic | - $.foo + "_" + $.bar |
| (-+*/) | - $.foo * 12 |
Expand Down