Skip to content

Instantly share code, notes, and snippets.

@ezarko
Created May 15, 2017 17:43
Show Gist options
  • Save ezarko/84cf94ce05717dc73775c2c65bffae9f to your computer and use it in GitHub Desktop.
Save ezarko/84cf94ce05717dc73775c2c65bffae9f to your computer and use it in GitHub Desktop.
#!/bin/perl
use strict;
use warnings;
use JSON;
$/ = undef;
print JSON->new->allow_nonref->pretty->encode(decode_json scalar <>);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment