Commit Graph

19 Commits (0c9a81208ca200264a1fb97cf661685bf200a145)

Author SHA1 Message Date
Emily Grace Seville f0dacdbd20
jq: update page (#7945)
* Fix manual url

* Replace all old examples with new ones:
- executing expression/script
- accessing keys/array items
- mutating objects

* Remove backslash, but:
- syntax highlighting is broken

* Add russian jq translation

* Fix placeholders in translation

* Specify multiple array items/keys in examples

* Describe --arg option

* Join two examples:
- first
- fourth

* Fix generic command placeholders:
- use `cat path/to/file.json`
2022-04-13 11:45:18 +10:00
Yorke Rhodes fc874d901b
jq: add filter array example (#7871)
* Add filter array example

* Remove 8th example
2022-03-12 14:08:08 +10:00
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00
Starbeamrainbowlabs a1b636f844
jq: remove example to bring it under the 8 example limit (#5057) 2021-01-01 16:30:53 -05:00
johnsmith2077 5951942143
jq: correct description of example (#4299) 2020-08-28 16:25:06 +08:00
Harrison 677ca84ceb
jq: fix jq syntax error (#4257) 2020-08-11 17:49:43 +02:00
Matt Watson fc69d1297d
jq: Add example for constructing new JSON object (#4172)
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2020-07-17 19:37:49 +02:00
Lucas Gabriel Schneider 36dae50265 jq: rephrase description
Co-Authored-By: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2020-02-20 18:00:28 +01:00
Schneider 2ea46b006f jq: remove adjectives 2020-02-20 18:00:28 +01:00
chuanjin 14cefcc7f9 Update jq page with correct command format 2019-06-27 22:37:24 +05:30
Waldir Pimenta cf25745db1 Harmonize formatting and capitalization of stdin/stdout/stderr 2019-06-17 22:09:58 +05:30
pxgamer afd88db282 jq: add link to homepage 2019-06-05 23:42:48 -03:00
Bruno Bigras c24e2d610c jq: add 'output to string' example (#2916) 2019-04-22 22:22:29 +02:00
Marco Bonelli e952f260dc jq: fix typo (#2925) 2019-04-18 06:45:39 +01:00
Bruno Bigras 1c66acf268 jq: add 'combines multiple filters' example (#2917) 2019-04-17 15:55:23 +01:00
Agniva De Sarker 1fd030ef01 jq: clarify json text input from stdin 2018-04-17 10:05:20 +01:00
Eric Nielsen a2d755a504 jq: Accepts a file as last parameter
Examples look simpler with file as last parameter than with using `cat`,
also they explicitly show that you must use `.` as the default
all-matching rule.

Keep the last two examples with piping, and change their descriptions
accordingly.
2018-04-17 10:05:20 +01:00
Waldir Pimenta 7ca686634d jq: clarify descriptions (#1361) 2017-05-04 09:35:38 +01:00
maximpertsov 89c2015940 jq: add page (#1092) 2016-12-21 23:40:12 +00:00