X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/40575fa484663def379178642270af334291f385..e6b10645e7470208f5122055489c7a19733e50bc:/tools/mkjson diff --git a/tools/mkjson b/tools/mkjson new file mode 100755 index 0000000..6a7d948 --- /dev/null +++ b/tools/mkjson @@ -0,0 +1,7 @@ +#!/usr/bin/env perl +use 5.012; +use warnings; +use JSON; + +my $data = do "./$ARGV[0]" or die $@; +print JSON->new->utf8->canonical->encode($data);