Skip to content

Instantly share code, notes, and snippets.

@jadell
Created December 17, 2011 23:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jadell/1491837 to your computer and use it in GitHub Desktop.
Save jadell/1491837 to your computer and use it in GitHub Desktop.
Decode JSON in bach with PHP
alias json-decode="php -r 'print_r(json_decode(file_get_contents(\"php://stdin\")));'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment