Skip to content

Commit a105d63

Browse files
committed
Doc update
1 parent a1bb8d9 commit a105d63

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,12 +275,12 @@ This tool, JSONPath.sh, is really handy for handing json formatted
275275
data to other tools, and using pass-through mode (-p) comes in quite
276276
handy for creating complex queries and outputting in json.
277277

278-
*Standard Re-injection* allows the user to overcome the limitation
278+
**Re-injection** allows the user to overcome the limitation
279279
of a single filter expression per invocation. To do this the first
280280
query, or set of queries, should output in JSON format using the
281281
'-j' option.
282282

283-
*Usage Example*
283+
**Usage Example**
284284

285285
Show all books with a price greater than 4 that also have a 5 star
286286
rating (note that the first process in the pipeline outputs in json):
@@ -291,11 +291,11 @@ rating (note that the first process in the pipeline outputs in json):
291291
'$..book[?(@.rating==5)].title'
292292
```
293293

294-
*Pass-through mode* reads the standard output JSONPath.sh (or JSON.sh)
294+
**Pass-through mode** reads the standard output JSONPath.sh (or JSON.sh)
295295
produces and outputs JSON. This gives the user an opportunity to filter
296296
or modify the results:
297297

298-
*Usage Example*
298+
**Usage Example**
299299

300300
Show all authors, without showing duplicates and output in JSON format.
301301

@@ -377,6 +377,7 @@ $ ./JSONPath.sh -f test/valid/goessner.net.expanded.json \
377377
## Limitations (todo)
378378

379379
* Only one filter expression, '?(@', per query.
380+
Use re-injection, detailed above, to overcome this limitation.
380381

381382
## License
382383

0 commit comments

Comments
 (0)