Skill · Data formats · Process text and files on the command line
Query and transform JSON on the command line with jq
Read, filter and transform JSON on the command line with jq: selectors, select, map and options useful in scripts and troubleshooting.
Start lesson 1The Data formats domain
- 3 lessons
- ~1 h 30 of reading
- 3 quizzes
- 0 proof lab
The path
Where it comes from, where it leads
What you need to know first, where you stand on this skill, and what it opens next. Your status is computed in your browser, from what you have read and passed.
Before · 1 prerequisite
Recommended before · 1
This skill, for you
Query and transform JSON on the command line with jq
Computing
It unlocks · 2 skills
The path through the foundations From the most upstream foundation to this skill: what is in place, what remains to read.
Lessons
How to learn it
3 lessons, about ~1 h 30, in program order. Each lesson ends with its quiz.
The program
3 lessons · ~1 h 30
Part 1 · Outiller : interroger, produire, explorer, valider (in French) 1 lesson · ~30 min
- 1jq: process JSON on the command line· 30 min
Part 2 · Écrire du JSON conforme (in French) 1 lesson · ~30 min
- 2JSONC, JSON5 et NDJSON (in French)· 30 min
Part 3 · Outiller : interroger, produire, explorer, valider (in French) 1 lesson · ~30 min
- 3Explorer un JSON inconnu (in French)· 30 min
Beyond the lessons
Assess, practise, pass the proof
Reading a lesson confirms nothing. A skill is confirmed by a passed quiz, practised in a guided lab, and put to the test by a challenge or a mission; an imported lab result is not verified by the site.
Assess yourself
3 quizzes
At the end of the lessons: passed at 70%, they confirm the skill.
Practice
No guided lab
No guided lab practices it yet.
Proof
No proof
Neither a challenge nor a mission with a proof yet.
Placement test
Preparing the questions…
Your answers in detail
For each question asked: your answer, the correct answer, its explanation and the page to reread.
Around it
Who requires it, who teaches it
Required by
Taught by
Same block · Process text and files on the command line
- Build a pipeline that extracts, sorts, counts, compares and follows a text stream
- Transform files and streams with sed, awk and regular expressions
- Edit a configuration file in Vim: modes, motions, substitution
- Download a file and check its integrity and authenticity
- Back up and restore a directory tree with tar