This works though, right?
(my $json = JSON->new->encode(\%data)) =~ s{\/}{\\\/}g;
In reply to Re^3: JSON::XS and escaping literal strings
by tobyink
in thread JSON::XS and escaping literal strings
by abelard12
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |