Beginners Course: Jq Command Tutorials to Parse JSON Data

所在平台: Udemy

课程主页: https://www.udemy.com/course/jq-command-tutorials-to-parse-json-data/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:初学者课程:Jq命令教程以解析JSON数据 课程概述:本课程适合所有在Unix/Linux命令行或使用Bash Shell脚本处理JSON数据的人员。目前,DevOps自动化日益依赖于REST API,而REST API的响应格式为JSON。因此,为了通过Bash Shell脚本实现REST API,您必须了解如何解析REST API的响应(即解析JSON数据)。JQ是一个用于解析JSON数据的命令行工具。解析JSON数据意味着阅读、写入和修改JSON内容。虽然我们可以使用sed、awk或grep等命令解析JSON数据,但这些工具并不理想,因为解析JSON需要编写更复杂的逻辑。与此相比,使用Jq命令处理JSON数据则简单得多。JQ支持过滤器、函数、条件、运算符等其他语言特性。 您将在本课程中学到: - Jq的基础知识 - 如何使用Jq命令解析(读取和写入)JSON数据 - 在Bash Shell脚本中使用Jq命令 - 如何在命令行中美化输出JSON数据 - 使用不同类型的过滤器处理JSON数据 - 使用Jq选择函数与迭代器过滤器和映射函数 先决条件: - Linux/Mac系统进行实践 - 熟悉命令行 - 对管道和重定向的基本知识有一定了解 - 对JSON数据有基本的理解

课程评论(0条)

课程详情

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 JqExplore how to Parse (read and write) JSON Data with Jq CommandLearn how to use Jq Command in Bash Shell ScriptingFind out how to pretty print json in the command lineLearn to use different type of filter on JSON DataDiscover how to use Jq select function with iterator filter and map functionPrerequisitesLinux/Mac System to PracticeKnowledge on Command LineBasic Knowledge on Usage of Pipelines and redirectionsBasic Knowledge on JSON Data

课程标签

0人关注该课程

主题相关的课程