+
package JSON::number;
sub new {
my $class = shift;
sub toString { 'false' }
package JSON;
+use Unicode::Normalize;
use vars qw/%_class_map/;
sub register_class_hint {
JSON->register_class_hint(name => $name, hint => $name, type => lc($type));
$output .= perl2JSON(undef,$perl, $strict);
} else {
+ $perl = NFD($perl);
$perl =~ s{\\}{\\\\}sgo;
$perl =~ s/"/\\"/sgo;
$perl =~ s/\t/\\t/sgo;
register_class_hint(undef, name => $name, hint => $name, type => lc($type));
$output .= perl2prettyJSON(undef,$perl);
} else {
+ $perl = NFD($perl);
$perl =~ s/\\/\\\\/sgo;
$perl =~ s/"/\\"/sgo;
$perl =~ s/\t/\\t/sgo;