jless: add page (#23211)

This commit is contained in:
Alex Chen
2026-07-25 11:51:59 +03:00
committed by GitHub
parent c05caaacf0
commit 1975b32ffe
+37
View File
@@ -0,0 +1,37 @@
# jless
> View and explore JSON data interactively.
> See also: `jq`, `fx`, `less`.
> More information: <https://jless.io/user-guide>.
- Open a JSON file:
`jless {{path/to/file.json}}`
- Read JSON from `stdin`:
`cat {{path/to/file.json}} | jless`
- Force YAML parsing regardless of file extension:
`jless --yaml {{path/to/file}}`
- Start in line mode (show braces, commas, and quoted object keys):
`jless {{[-m|--mode]}} line {{path/to/file.json}}`
- Hide line numbers:
`jless {{[-N|--no-line-numbers]}} {{path/to/file.json}}`
- Show relative line numbers:
`jless {{[-r|--relative-line-numbers]}} {{path/to/file.json}}`
- [Interactive] Search forward for a pattern (press `<n>`/`<N>` for next/previous match):
`</>{{pattern}}`
- [Interactive] Exit:
`<q>`