javascript url encode string code example
Example 1: urlencode javascript
var url = encodeURIComponent('url');
Example 2: jq unencode string
# -r enable raw output
jq -r .[0].string FILE.json
var url = encodeURIComponent('url');
# -r enable raw output
jq -r .[0].string FILE.json