Loading CS.md +4 −0 Original line number Original line Diff line number Diff line Loading @@ -103,6 +103,10 @@ For an input from another command: command | perl -MJSON::PP -e '$x = JSON::PP->new->ascii->pretty; print $x->encode($x->decode(<>));' command | perl -MJSON::PP -e '$x = JSON::PP->new->ascii->pretty; print $x->encode($x->decode(<>));' For multiple JSONs (one per line) as an input from another command: command | perl -MJSON::PP -ne '$x = JSON::PP->new->ascii->pretty; print $x->encode($x->decode($_));' - - - - - - **Wireshark for remote machine** **Wireshark for remote machine** Loading Loading
CS.md +4 −0 Original line number Original line Diff line number Diff line Loading @@ -103,6 +103,10 @@ For an input from another command: command | perl -MJSON::PP -e '$x = JSON::PP->new->ascii->pretty; print $x->encode($x->decode(<>));' command | perl -MJSON::PP -e '$x = JSON::PP->new->ascii->pretty; print $x->encode($x->decode(<>));' For multiple JSONs (one per line) as an input from another command: command | perl -MJSON::PP -ne '$x = JSON::PP->new->ascii->pretty; print $x->encode($x->decode($_));' - - - - - - **Wireshark for remote machine** **Wireshark for remote machine** Loading