ajson: add Spanish translation (#9691)

pull/3/head
Darío Hereñú 2022-12-31 10:35:38 -03:00 committed by GitHub
parent d97d1ac436
commit 8c4bc7848f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
pages.es/common/ajson.md Normal file
View File

@ -0,0 +1,20 @@
# ajson
> Ejecuta JSONPath en objetos JSON.
> Más información: <https://github.com/spyzhov/ajson>.
- Lee JSON de un archivo y ejecuta una expresión JSONPath especificada:
`ajson '{{$..json[?(@.path)]}}' {{ruta/al/archivo.json}}`
- Lee JSON de `stdin` y ejecuta una expresión JSONPath especificada:
`cat {{ruta/al/archivo.json}} | ajson '{{$..json[?(@.path)]}}'`
- Lee JSON de una URL y evalúa una expresión JSONPath especificada:
`ajson '{{avg($..price)}}' '{{https://ejemplo.com/api/}}'`
- Lee un simple cadena JSON y calcula un valor:
`echo '{{3}}' | ajson '{{2 * pi * $}}'`