Join Exercism’s jq Track for access to 74 exercises grouped into 12 jq Concepts, with automatic analysis of your code and personal mentoring, all 100% free.
echo '{"message": "Hello, World!"}' | \
jq -r '.message'
Get better at programming through fun, rewarding coding exercises that test your understanding of concepts with Exercism.
Given a word and a list of possible anagrams, select the correct sublist.
For want of a horseshoe nail, a kingdom was lost, or so the saying goes. Output the full text of this proverbial rhyme.
Clean up user-entered phone numbers so that they can be sent SMS messages.
jq has become a de-facto leader for transforming JSON data.
jq is available as a single binary with no dependencies, it's simple to install.
Generate valid JSON using command-line options to avoid worrying about quoting edge cases.
Reporting from REST APIs: piping the output of curl into jq is a powerful addition to your toolbox.
You may already be using jq in your CI workflows: get more comfortable with jq to amplify its power.
jq is a functional programming language: jq code is very concise and maintainable.
Every language has its own way of doing things. jq is no different. Our mentors will help you learn to think like a jq developer and how to write idiomatic code in jq. Once you've solved an exercise, submit it to our volunteer team, and they'll give you hints, ideas, and feedback on how to make it feel more like what you'd normally see in jq - they'll help you discover the things you don't know that you don't know.
Learn more about mentoringThe jq track on Exercism has 12 concepts and 74 exercises to help you write better code. Discover new exercises as you progress and get engrossed in learning new concepts and improving the way you currently write.
See all jq exercisesThe best part, it’s 100% free for everyone.