1. Linux 下 Json 格式化

使用工具命令 jq

http://www.zhaowenyu.com/linux-man-doc/J/jq.html

$echo '{ "foo": { "bar": { "baz": 123 } } }' | jq '.'
{
  "foo": {
    "bar": {
      "baz": 123
    }
  }
}
Copyright © 温玉 2021 | 浙ICP备2020032454号 all right reserved,powered by Gitbook该文件修订时间: 2025-01-03 22:56:11

results matching ""

    No results matching ""