1
SoloCompany 2016-06-25 17:42:26 +08:00
npm install node-select
echo '{ "result":[ { "id":"652bcd", "type":"1", "name":"san", "content":"santest", "created_on":"2016-03-22T01:41:55", "meta":{ "auto_added":false } } ], "result_info":{ "count":1, "total_count":1 }, "success":true, "errors":[ ], "messages":[ ] } ' | ./node_modules/.bin/json-select 'result.*' [ { "id": "652bcd", "type": "1", "name": "san", "content": "santest", "created_on": "2016-03-22T01:41:55", "meta": { "auto_added": false } }] |
2
ericFork 2016-06-26 18:09:04 +08:00
用 jq 或者 pip 到 python -c
|