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

时间:2021-02-26 02:50:24
【文件属性】:
文件名称:JSON.sh:以Bash编写的可传递JSON解析器
文件大小:20KB
文件格式:ZIP
更新时间:2021-02-26 02:50:24
Shell 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 " [
【文件预览】:
JSON.sh-master
----MANIFEST.in(63B)
----LICENSE.APACHE2(586B)
----LICENSE.MIT(1KB)
----.travis.yml(355B)
----JSON.sh(5KB)
----test()
--------invalid-test.sh(631B)
--------solidus()
--------valid-test.sh(368B)
--------parse-test.sh(587B)
--------valid()
--------tokenizer-test.sh(1KB)
--------solidus-test.sh(723B)
--------no-head-test.sh(539B)
--------invalid()
----all-tests.sh(485B)
----setup.py(960B)
----README.md(2KB)
----.gitignore(48B)
----package.json(468B)

网友评论