Skip to content

Instantly share code, notes, and snippets.

@t-cyrill
Created July 2, 2013 14:17
Show Gist options
  • Save t-cyrill/5909673 to your computer and use it in GitHub Desktop.
Save t-cyrill/5909673 to your computer and use it in GitHub Desktop.
<?php
echo json_encode(json_decode(stream_get_contents(STDIN)), JSON_UNESCAPED_SLASHES|JSON_UNESCAPED_UNICODE|JSON_PRETTY_PRINT);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment