We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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"] and this.["search-results"] etc without success
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
return this['search-results'].results? Works for me.
No branches or pull requests
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"] and this.["search-results"] etc without success
The text was updated successfully, but these errors were encountered: