String from executeshell

2015-04-29 Thread William Dunne via Digitalmars-d-learn
I'm trying to run this command: wget -O - URL | gpg -d and get the result of the action, but I can't quite work out to do it. currently it looks like: executeShell(escapeShellCommand("wget", "-O", "-", url, "|", "gpg", "-D")); But I can't work out how to pull the string returned with this.

Parseing single JSON value from webpage

2015-04-28 Thread William Dunne via Digitalmars-d-learn
Sorry for the noob question. I'm currently trying to parse this bit of json: Array ( [meta] => Array ( [level1trust] => 1 [level2trust] => 9 ) [connections] => Array ( [level1] => Array ( [fr