Group
Extension

Matches 1

C-Tokenize ( B/BK/BKB/C-Tokenize-0.19.tar.gz, BKB, 2025; MetaCPAN )
C-Tokenize/lib/C/Tokenize.pod ( view source; MetaCPAN )
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

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.