J.P
只需从任何输入源解析JSON。
受启发; 不能替代。 支持和。 还支持标准输入流(请参见最后一个示例),即逐行。
yarn global add jp-cli || npm install -g jp-cli
用法
Pipe jp onto a JSON source from the commandline to parse the output:
cat data.json | jp [options] query
Options:
-p, --path Use JSON Path notation (https://github.com/dchester/
1