<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>JSON on Text Matrix</title><link>https://txtmix.com/tags/json/</link><description>Recent content in JSON on Text Matrix</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sat, 23 May 2026 08:55:34 +0800</lastBuildDate><atom:link href="https://txtmix.com/tags/json/index.xml" rel="self" type="application/rss+xml"/><item><title>jq完全指南：命令行JSON处理神器，34k Stars的瑞士军刀</title><link>https://txtmix.com/posts/tech/jq-command-line-json-processor-guide/</link><pubDate>Sat, 11 Apr 2026 00:25:00 +0800</pubDate><guid>https://txtmix.com/posts/tech/jq-command-line-json-processor-guide/</guid><description>&lt;h1 id="jq完全指南命令行json处理神器34k-stars的瑞士军刀">jq完全指南：命令行JSON处理神器，34k Stars的瑞士军刀&lt;/h1>
&lt;h2 id="1-学习目标">§1 学习目标&lt;/h2>
&lt;p>通过本文，您将掌握：&lt;/p>
&lt;ol>
&lt;li>&lt;strong>理解jq的核心价值&lt;/strong>：为什么JSON处理需要专门的命令行工具&lt;/li>
&lt;li>&lt;strong>掌握全部过滤器&lt;/strong>：选择、映射、转换、聚合&lt;/li>
&lt;li>&lt;strong>熟练使用管道&lt;/strong>：与shell命令的完美结合&lt;/li>
&lt;li>&lt;strong>理解高级特性&lt;/strong>：函数、模块、条件逻辑&lt;/li>
&lt;li>&lt;strong>掌握实战技巧&lt;/strong>：日志处理、API响应解析、配置文件操作&lt;/li>
&lt;/ol>
&lt;hr>
&lt;h2 id="2-项目概述">§2 项目概述&lt;/h2>
&lt;h3 id="21-什么是jq">2.1 什么是jq？&lt;/h3>
&lt;blockquote>
&lt;p>jq is a lightweight and flexible command-line JSON processor akin to sed, awk, grep, and friends for JSON data.&lt;/p></description></item></channel></rss>