ajson: add Dutch translation

pull/23/head
Jennifer Falco 2023-07-27 16:40:34 +01:00 committed by K.B.Dharun Krishna
parent c90465a536
commit fdad0b5b20
1 changed files with 20 additions and 0 deletions

20
pages.nl/common/ajson.md Normal file
View 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 * $}}'`