Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Beginners Course: Jq Command Tutorials to Parse JSON Data
Rating: 4.4 out of 5(144 ratings)
794 students

Beginners Course: Jq Command Tutorials to Parse JSON Data

Learn How to Parse JSON Data With Jq Command; Read, Write & Modify the JSON Data with Filters, Conditions & Functions
Last updated 6/2024
English
English [Auto],

What you'll learn

  • Parsing JSON Data with Jq Command
  • Identify, Field and Iterator Filters
  • Functions of Jq Command
  • Usage of Jq Command in Shell Scripts
  • Converting JSON Data into csv and tsv formats

Course content

16 sections44 lectures2h 59m total length
  • Introduction to Jq Command1:41

    Learn to parse json data on Unix/Linux using the jq command, compare with grep and awk, and apply jq in Bash shell scripts for cloud and API workflows.

Requirements

  • Knowledge on Unix/Linux Command Line
  • Any Unix/Linux OS for Practice
  • Basic Knowledge on JSON Data Structure

Description

This course is for anyone who works with JSON on Unix/Linux Command-line or using Bash Shell Scripts.

Currently, DevOps Automation is more into REST APIs usage and REST APIs Response is JSON. So, to implement bash shell scripts by using REST APIs then you must know how to parse the response of REST API (I.e, parsing JSON Data).

JQ is a command-line utility developed to Parse JSON data. Parsing JSON Data is nothing but - Reading, Writing and Modifying the JSON Data.

We can also parse JSON Data with sed, awk, or grep commands but these are not perfect utilities to Parse JSON Data because we have to write more complex logic to work with JSON Data,

Its very easy to work with JSON Data using Jq Command. JQ supports filters, function, conditions, operators, and other language features.


What You Will Learn here:

  • Learn the basics of Jq

  • Explore how to Parse (read and write) JSON Data with Jq Command

  • Learn how to use Jq Command in Bash Shell Scripting

  • Find out how to pretty print json in the command line

  • Learn to use different type of filter on JSON Data

  • Discover how to use Jq select function with iterator filter and map function

Prerequisites

  • Linux/Mac System to Practice

  • Knowledge on Command Line

  • Basic Knowledge on Usage of Pipelines and redirections

  • Basic Knowledge on JSON Data

Who this course is for:

  • Those who wants Parse JSON Data Jq Command on Unix/Linux Command-line