![Jq Command Tutorials for Bash Shell Scripting [Video]](https://content.packt.com/V19135/cover_image_small.jpg)
Jq Command Tutorials for Bash Shell Scripting [Video]
Subscription
FREE
Video + Subscription
$29.99
Video
$19.99
What do you get with a Packt Subscription?
What do you get with a Packt Subscription?
What do you get with Video + Subscription?
What do you get with a Packt Subscription?
What do you get with eBook?
What do I get with Print?
What do I get with Print?
What do you get with video?
What do you get with Audiobook?
Subscription
FREE
Video + Subscription
$29.99
Video
$19.99
What do you get with a Packt Subscription?
What do you get with a Packt Subscription?
What do you get with Video + Subscription?
What do you get with a Packt Subscription?
What do you get with eBook?
What do I get with Print?
What do I get with Print?
What do you get with video?
What do you get with Audiobook?
-
Free ChapterIntroduction to the Course
-
Jq Filters and Options
-
Simple Usage of Jq Command in Shell Scripts
-
Working with JSON Arrays
-
Constructing Object| Array| Null| Number| String| Boolean with and Without Inputs
-
Jq Functions – Keys | Length | Min | Max | Unique | Del and Pipes
-
Working with OS (Linux / Unix / Mac) Variables Using Jq Command
-
Conditional Statements | Simple if| if else | if elif…else
-
Jq Command with Exit Status for Bash Shell Scripting
-
Operations on Strings
-
Arithmetic Operations on Numbers (int and float)
-
Creating Bash Array from JSON Array
-
Jq Command Usage with Kubectl
About this video
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
- Publication date:
- June 2022
- Publisher
- Packt
- Duration
- 2 hours 42 minutes
- ISBN
- 9781804610022