tion can also be used to strip C-style comments from JSON
without removing string contents:
use C::Tokenize 'strip_comments';
my $json =<<EOF;
{
/* Comment comment comment */
strip_comments ($json);
produces output
{
"/* not comment */":"/* not comment */",
"value":["//not comment"]
}
(This example is included as L<F<strip-json.pl>|https://fast
api.metacpan.org/source/BKB/C-Tokenize-0.19/examples/strip-json.pl> in the distribution.)
=head1 EXPORTS
Nothing is exported by default.
use C::Tokenize ':all';
exports all the regular expre