1. 首页
  2. 数据库
  3. 其它
  4. JSON.sh:以Bash编写的可传递JSON解析器 源码

JSON.sh:以Bash编写的可传递JSON解析器 源码

上传者: 2021-03-11 15:26:10上传 ZIP文件 20.26KB 热度 12次
JSON.sh 哟,所以这是一个用shell编写的json解析器,与ash,bash,dash和zsh兼容 将json传递给它,然后遍历json对象并打印出当前对象(作为JSON数组)的路径,然后打印出该对象的路径,没有空格。 $ json_parse < package.json [ " name " ] " JSON.sh " [ " version " ] " 0.0.0 " [ " description " ] " " [ " homepage " ] " http://github.com/dominictarr/JSON.sh " [ " repository " , " type " ] " git " [ " repository " , " url " ] " https://github.com/dominictarr/JSON.sh.git " [
用户评论