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.
Demonstrate recursive functions in jq
Given a string of digits, calculate the largest product for a contiguous substring of digits of length n.
Given a letter, print a diamond starting with 'A' with the supplied letter at the widest point.
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.