#!/usr/bin/perl use strict; use feature qw{ say }; use warnings; use JSON::PP; my $json = "{'k1':'v1','k2':'v2'}"; decode_json($json); #### unexpected end of string while parsing JSON string, at character offset 2 (before "k1':'v1','k2':'v2'}") #### '"' expected, at character offset 1 (before "'k1':'v1','k2':'v2'}") #### '{"k1":"v1","k2":"v2"}' #### ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,