jsawk
jsawk copied to clipboard
Like awk, but for JSON.
Pointed a windowed link to archive.org
DO NOT TRUST THIS AUTHOR -- HIS CODE MAY BE BACKDOORED
Does anyone have anything?
eg {"search-results":{"searchTime":"1","total":"326","limit":"100","offset":"0","query":"oc_deleted:false AND oc_latest_version:true","result":[...] } } ~/bin/jsawk 'return this.search-results.results' < ~/a.json jsawk: js error: ReferenceError: results is not defined I've tried the usual JS handling of hyphenated words: return ["this.search-results"]...
==> devopsgroup.io-dev-redhat: /vagrant/provisioners/redhat/installers/jsawk: line 1317: js: command not found
Hello, Everything is in the title
Hi there, Thanks for all, it works wonderfully. I think it would be great to put a really easy example at the top of your README for clarity. Following example...