mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 01:26:03 +02:00
ajson: add Dutch translation
This commit is contained in:
parent
c90465a536
commit
fdad0b5b20
1 changed files with 20 additions and 0 deletions
20
pages.nl/common/ajson.md
Normal file
20
pages.nl/common/ajson.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# 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://voorbeeld.com/api/}}'`
|
||||
|
||||
- Lees wat eenvoudige JSON en bereken een waarde:
|
||||
|
||||
`echo '{{3}}' | ajson '{{2 * pi * $}}'`
|
Loading…
Add table
Reference in a new issue