File: catjson.pl

package info (click to toggle)
libcatmandu-fix-cmd-perl 0.0201-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 132 kB
  • sloc: perl: 56; java: 15; ansic: 15; lisp: 8; makefile: 8; python: 6
file content (7 lines) | stat: -rwxr-xr-x 111 bytes parent folder | download
1
2
3
4
5
6
7
#!/usr/bin/env perl

use JSON;
while (<STDIN>) {
   my $data = decode_json($_);
   print encode_json($data);
}