Highly practical and comes bundled with all the resource files including PPT files
End-to-end course on Jq command with the help of live examples for an in-depth understanding
Beginner’s level guide to explain Jq command using Bash Shell Scripts with detailed explanation
Description
Nowadays, DevOps automation is more into REST API usage, and REST API response is JSON. So, to implement bash shell scripts using REST APIs, you must know how to parse the response of REST API (that is, parse JSON data).
Jq is a program developed to filter JSON data. You can consider Jq like sed, awk, or grep program but designed specifically for filtering JSON data. Jq supports filters, conditions, operators, and other language features. While the creation and understanding of JSON data are effortless due to its human-readable format, JSON data parsing is still a very complicated task to achieve if done manually. Instead, you can use programs like Jq to parse JSON data in minutes.
In this course, you will see the usage of the Jq command in Bash Shell Scripts, followed by filters and options to work with JSON objects. After that, you will look at the simple usage of the Jq command in Shell Scripts and start working with JSON arrays using the index concept. Next, you will be constructing objects and arrays with and without inputs and the usage of the -n option in Jq Command. Finally, you will study the Jq functions.
By the end of this course, you will have learned and gained the requisite confidence to work with the Jq Command using Bash Shell scripting in detail.
All the resource files are added to the GitHub repository at: https://github.com/PacktPublishing/Jq-Command-Tutorials-for-Bash-Shell-Scripting
What you will learn
Learn Jq basics from scratch
Learn how to parse (read and write) JSON data with the Jq command
Look at the usage of the Jq command in Bash Shell Scripting
See how to pretty-print JSON in the command line
Understand the use of different types of filters on JSON data
Learn to use Jq select function with iterator filter and map function
Narendra Kumar Reddy Polu is an IT professional with 7+ years of experience in different domains. He is very interested in learning new technologies and teaching. He believes that the best way to learn is by doing it in a fun way. Narendra has good practical knowledge of automation with different scripting languages such as Shell scripting, Python scripting, and YAML scripting. His online classes focus on providing high-quality documentation with practical knowledge. Hands-on experience in learning new technologies makes learning really interesting.
How can I download a video package for offline viewing?
Login to your account at Packtpub.com.
Click on "My Account" and then click on the "My Videos" tab to access your videos.
Click on the "Download Now" link to start your video download.
How can I extract my video file?
All modern operating systems ship with ZIP file extraction built in. If you'd prefer to use a dedicated compression application, we've tested WinRAR / 7-Zip for Windows, Zipeg / iZip / UnRarX for Mac and 7-Zip / PeaZip for Linux. These applications support all extension files.
How can I get help and support around my video package?
If your video course doesn't give you what you were expecting, either because of functionality problems or because the content isn't up to scratch, please mail customercare@packt.com with details of the problem. In addition, so that we can best provide the support you need, please include the following information for our support team.
Video
Format watched (HTML, MP4, streaming)
Chapter or section that issue relates to (if relevant)
System being played on
Browser used (if relevant)
Details of support
Why can’t I download my video package?
In the even that you are having issues downloading your video package then please follow these instructions:
Disable all your browser plugins and extensions: Some security and download manager extensions can cause issues during the download.
Download the video course using a different browser: We've tested downloads operate correctly in current versions of Chrome, Firefox, Internet Explorer, and Safari.