示例json:
{
"status": "ok",
"data": [{
"id": 1,
"name": "zhangsan"
},
{
"id": 2,
"name": "wangwu"
}
]
}
1 直接格式化打印
at ./test.json | jq .
{
"status": "ok",
"data": [
{
"id": 1,[......]
jq命令10分钟速成
Leave a reply