mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-19 15:35:24 +02:00

* pages.nl/common/a*: update Dutch translation, fix English typo's * Update pages/common/asciinema.md * Update act.md * Update pages.nl/common/act.md * Update age-keygen.md Co-authored-by: Leon <leonvsc@users.noreply.github.com> * pages.nl/common/b*: update Dutch translation (#16248) * pages.nl/common/b*: update Dutch translation * Update pages.nl/common/bc.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --------- Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> * certbot: update Dutch translation * Update certbot.md * Fix typos --------- Co-authored-by: Leon <leonvsc@users.noreply.github.com> Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
20 lines
604 B
Markdown
20 lines
604 B
Markdown
# ajson
|
|
|
|
> Voert JSONPath uit op JSON-objecten.
|
|
> Meer informatie: <https://github.com/spyzhov/ajson>.
|
|
|
|
- Lees JSON uit een bestand en voer een opgegeven JSONPath-expressie uit:
|
|
|
|
`ajson '{{$..json[?(@.path)]}}' {{pad/naar/bestand.json}}`
|
|
|
|
- Lees JSON van `stdin` en voer een gespecificeerde JSONPath-expressie uit:
|
|
|
|
`cat {{pad/naar/bestand.json}} | ajson '{{$..json[?(@.path)]}}'`
|
|
|
|
- Lees JSON van een URL en evalueer een opgegeven JSONPath-expressie:
|
|
|
|
`ajson '{{avg($..price)}}' '{{https://example.com/api/}}'`
|
|
|
|
- Lees wat eenvoudige JSON en bereken een waarde:
|
|
|
|
`echo '{{3}}' | ajson '{{2 * pi * $}}'`
|