1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.nl/common/ajson.md
Sebastiaan Speck dc73a80540
pages.nl/common/a*: update Dutch translation, fix English typo's (#16245)
* 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>
2025-04-25 18:51:41 +02:00

604 B

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 * $}}'