JSON-Grep:用于解析JSON文档的命令行工具和API

时间:2021-05-26 21:42:15
【文件属性】:
文件名称:JSON-Grep:用于解析JSON文档的命令行工具和API
文件大小:20KB
文件格式:ZIP
更新时间:2021-05-26 21:42:15
Ruby JGrep是用于基于逻辑表达式解析JSON文档的命令行工具和API。 安装: jgrep可以作为gem来使用: gem install jgrep JGrep二进制用法: jgrep [expression] -i foo.json 或者 cat "foo.json" | jgrep [expression] 标志: -s, --simple [FIELDS] : Greps the JSON and only returns the value of the field(s) specified -c, --compat : Returns the JSON in its non-pretty flat form -n, --stream : Specify continuous input -f, --flatten
【文件预览】:
JSON-Grep-master
----.gitignore(27B)
----CHANGELOG.markdown(969B)
----bin()
--------jgrep(4KB)
----jgrep.gemspec(818B)
----.travis.yml(80B)
----.rubocop.yml(1KB)
----COPYING(11KB)
----spec()
--------unit()
--------spec_helper.rb(148B)
--------Rakefile(241B)
----README.markdown(5KB)
----lib()
--------parser()
--------jgrep.rb(9KB)
----Gemfile(115B)
----Rakefile(208B)

网友评论