Group
Extension

Matches 1

App-jsonsel ( P/PE/PERLANCAR/App-jsonsel-0.008.tar.gz, PERLANCAR, 2021; MetaCPAN )
App-jsonsel/lib/App/jsonsel.pm ( view source; MetaCPAN )
e App::jsonsel;

our $DATE = '2021-02-19'; # DATE
our $VERSION = '0.008'; # VERSION

use 5.010001;
use strict;
use warnings;

use App::CSelUtils;

our %SPEC;

sub _encode_json {
    state $json = do {
re JSON::MaybeXS;
        JSON::MaybeXS->new(allow_nonref=>1, canonical=>1);
    };
    $json->encode($_[0]);
}

sub _decode_json {
    state $json = do {
        require JSON::MaybeXS;
        JSON::
MaybeXS->new(allow_nonref=>1, canonical=>1);
    };
    $json->decode($_[0]);
}

$SPEC{jsonsel} = {
    v => 1.1,
    summary => 'Select JSON elements using CSel (CSS-selector-like) syntax',
    args 

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