Group
Extension

Matches 35358

Net-OpenVPN-Manager ( A/AT/ATOY/Net-OpenVPN-Manager-0.17.tar.gz, ATOY, 2024; MetaCPAN )
Net-OpenVPN-Manager/lib/Net/OpenVPN/Manager/Plugin/TOTP.pm ( view source; MetaCPAN )
e_base32 decode_base32);
use AnyEvent::Util qw(fork_call);
use Net::OpenVPN::Manager::Plugin;
use JSON;

with 'Net::OpenVPN::Manager::Startable';
with 'Net::OpenVPN::Manager::2Authenticable';
with 'Ne
d";
                                    $responder->([ 200, [ 'Content-type', 'application/json' ], [ to_json({"uri" => $res}) ] ]);
                                });
                            } e
d";
                                    $responder->([ 200, [ 'Content-type', 'application/json' ], [ to_json({"uri" => $res}) ] ]);
                                });
                            } e
Net-OpenVPN-Manager ( A/AT/ATOY/Net-OpenVPN-Manager-0.17.tar.gz, ATOY, 2024; MetaCPAN )
Net-OpenVPN-Manager/lib/Net/OpenVPN/Manager/Plugin/ClientProfile.pm ( view source; MetaCPAN )
lean;
use Moose;
use Net::OpenVPN::Manager::Plugin;
use Crypt::JWT qw(encode_jwt decode_jwt);
use JSON;
use Template;

with 'Net::OpenVPN::Manager::Startable';

has 'jwtkey' => (
    is => 'ro',
    i
er $username to retrieve config file");
                [200, ['Content-type', 'application/json'], [to_json({token => $token})]];
            },
            'GET + /config/*' => sub {
               
ntent-type', 'application/json'], [to_json({error => "Unable to process template"})]];
                }

                [200, ['Content-type', 'application/json'], [to_json({config => $out})]];
    
Data-Domain ( D/DA/DAMI/Data-Domain-1.16.tar.gz, DAMI, 2024; MetaCPAN )
Data-Domain/lib/Data/Domain.pm ( view source; MetaCPAN )
ata. Typically the data is a Perl tree (nested hashrefs or arrayrefs)
that may come from XML, L<JSON|JSON>, from a database through
L<DBIx::DataModel|DBIx::DataModel>, or from postprocessing an HTML
f
Catalyst-Controller-DBIC-API ( A/AB/ABRAXXA/Catalyst-Controller-DBIC-API-2.009000.tar.gz, ABRAXXA, 2024; MetaCPAN )
Catalyst-Controller-DBIC-API/lib/Catalyst/Controller/DBIC/API.pm ( view source; MetaCPAN )
'Catalyst::Controller'; }

use CGI::Expand ();
use DBIx::Class::ResultClass::HashRefInflator;
use JSON::MaybeXS ();
use Test::Deep::NoTest('eq_deeply');
use MooseX::Types::Moose(':all');
use Moose::Ut
eUpdate;
use namespace::autoclean;

has '_json' => (
    is         => 'ro',
    isa        => JSON::MaybeXS::JSON(),
    lazy_build => 1,
);

sub _build__json {

    # no ->utf8 here because the requ
est params get decoded by Catalyst
    return JSON::MaybeXS->new;
}

with 'Catalyst::Controller::DBIC::API::StoredResultSource',
    'Catalyst::Controller::DBIC::API::StaticArguments';

with 'Catalyst
App-CPANtoRPM ( S/SB/SBECK/App-CPANtoRPM-1.15.tar.gz, SBECK, 2024; MetaCPAN )
App-CPANtoRPM/lib/App/CPANtoRPM.pm ( view source; MetaCPAN )
,
        );

   } elsif ($file =~ /\.json$/i) {

      $succ = $self->_multiple_methods
        ( [ sub { 1; } ],
          [ 'module', 'JSON::XS', ['decode_json'],
            "my \$fh; " .
        
,'$file'; " .
            "my \$json_text = do { local \$/; <\$fh> }; " .
            "\$OUTPUT = decode_json(\$json_text);" ],
          [ 'module', 'JSON', ['from_json'],
            "my \$fh; " .
 
$file'; " .
            "my \$json_text = do { local \$/; <\$fh> }; " .
            "\$OUTPUT = from_json(\$json_text);" ],
          [ 'module', 'JSON::PP', ['decode_json'],
            "my \$fh; " .
WebService-Postex ( W/WA/WATERKIP/WebService-Postex-0.006.tar.gz, WATERKIP, 2024; MetaCPAN )
WebService-Postex/lib/WebService/Postex.pm ( view source; MetaCPAN )
plemenation in Perl

class WebService::Postex;
use Carp qw(croak);
use HTTP::Request::Common;
use JSON::XS;
use LWP::UserAgent;
use URI;

field $base_uri :param;
field $generator_id :param;
field $sec
param = undef;

method _set_ua_defaults() {
    $ua->default_header(Accept        => 'application/json');
    $ua->default_header(Authorization => "Bearer $secret");
}

ADJUSTPARAMS {
    my $args = s
, $/;
    }

    my $json = decode_json($res->decoded_content);
    if ($json->{data}{status} eq 'error') {
        die "Error occurred calling Postex", $/;
    }
    return $json;
}

method generatio
Setup-File ( P/PE/PERLANCAR/Setup-File-0.240.tar.gz, PERLANCAR, 2024; MetaCPAN )
Setup-File/lib/Setup/File.pm ( view source; MetaCPAN )
 transactional function needs to store its argument in database
(currently in JSON), coderefs are not representable in JSON.

=head1 HOMEPAGE

Please visit the project's homepage at L<https://metacpan
LaTeXML ( B/BR/BRMILLER/LaTeXML-0.8.8.tar.gz, BRMILLER, 2024; MetaCPAN )
LaTeXML/lib/LaTeXML/Util/Test.pm ( view source; MetaCPAN )
 LaTeXML::Util::Test;
use strict;
use warnings;

use Test::More;
use LaTeXML::Util::Pathname;
use JSON::XS;
use FindBin;
use File::Copy;
use File::Which;
use File::Spec::Functions;
use LaTeXML::Post;
App-depak ( P/PE/PERLANCAR/App-depak-0.587.tar.gz, PERLANCAR, 2024; MetaCPAN )
App-depak/lib/App/depak.pm ( view source; MetaCPAN )
System::Options;

    my $self = shift;
    die "Can't test: at least one test case ('--test-case-json') must be specified\n"
        unless $self->{test_cases} && @{ $self->{test_cases} };

    my $c
depak script output --args --foo --args 2 --args "bar baz"

or:

    % depak script output --args-json '["--foo",2,"bar baz"]'

_
            schema => ['array*' => of => 'str*'],
            tags => 
 resulting packed script with perl. To test, at
least one test case is required (see `--test-case-json`). Test cases specify
what arguments to give to program, what exit code we expect, and what the o
App-TextTableUtils ( P/PE/PERLANCAR/App-TextTableUtils-0.010.tar.gz, PERLANCAR, 2024; MetaCPAN )
App-TextTableUtils/lib/App/TextTableUtils.pm ( view source; MetaCPAN )

=over

=item 1. L<csv2ansitable>

=item 2. L<csv2asciitable>

=item 3. L<csv2dd>

=item 4. L<csv2json>

=item 5. L<csv2mdtable>

=item 6. L<csv2orgtable>

=item 7. L<csv2texttable>

=item 8. L<dd2ans
>

=item 29. L<json2ansitable>

=item 30. L<json2asciitable>

=item 31. L<json2csv>

=item 32. L<json2mdtable>

=item 33. L<json2orgtable>

=item 34. L<json2texttable>

=item 35. L<json2tsv>

=item 36
t>

=item 37. L<tsv2ansitable>

=item 38. L<tsv2asciitable>

=item 39. L<tsv2dd>

=item 40. L<tsv2json>

=item 41. L<tsv2mdtable>

=item 42. L<tsv2orgtable>

=item 43. L<tsv2texttable>

=back

=head1 
Catalyst-Controller-DBIC-API ( A/AB/ABRAXXA/Catalyst-Controller-DBIC-API-2.009000.tar.gz, ABRAXXA, 2024; MetaCPAN )
Catalyst-Controller-DBIC-API/lib/Catalyst/Controller/DBIC/API/StaticArguments.pm ( view source; MetaCPAN )



has 'total_entries_arg' =>
    ( is => 'ro', isa => Str, default => 'totalcount' );


has 'use_json_boolean' => ( is => 'ro', isa => Bool, default => 0 );


has 'return_object' => ( is => 'ro', isa
onfiguration parameters such as where to find specific elements in the request
data and if to use JSON boolean types.

=head1 PUBLIC_ATTRIBUTES

=head2 create_requires create_allows update_requires up
nce 'total_entries' in the the request_data, defaults to
'totalcount'.

=head2 use_json_boolean

Controls whether JSON boolean types are used in the success parameter of the
response or if raw strings
Catalyst-Controller-DBIC-API ( A/AB/ABRAXXA/Catalyst-Controller-DBIC-API-2.009000.tar.gz, ABRAXXA, 2024; MetaCPAN )
Catalyst-Controller-DBIC-API/lib/Catalyst/Controller/DBIC/API/REST.pm ( view source; MetaCPAN )
 => 'application/json',
    'stash_key' => 'response',
    'map'       => {
        'application/x-www-form-urlencoded' => 'JSON',
        'application/json'                  => 'JSON',
    }
);


sub
LWP-UserAgent-msgraph ( E/ES/ESTRELOW/LWP-UserAgent-msgraph-0.12.tar.gz, ESTRELOW, 2024; MetaCPAN )
LWP-UserAgent-msgraph/lib/LWP/UserAgent/msgraph.pm ( view source; MetaCPAN )
t::msgraph;

use strict;
use warnings;

our $VERSION = '0.12';

use parent 'LWP::UserAgent';

use JSON;
use Storable;
use Data::UUID;
use File::Spec;
use Storable;
use Carp;
use URI;
use HTTP::Request
 
   my $self=shift();

   return to_json($self->storedata());
}

sub session_restore($$) {

   my $self=shift();
   my $json=shift();

   my $data=from_json($json);

   for (qw(access_token expires e
_token',
       client_secret=>$self->{secret} ]);
   if ($r->is_success) {
      my $data=decode_json($r->decoded_content);
      my $token=$data->{access_token};      

      for (keys %$data) {
   
Catalyst-Controller-DBIC-API ( A/AB/ABRAXXA/Catalyst-Controller-DBIC-API-2.009000.tar.gz, ABRAXXA, 2024; MetaCPAN )
Catalyst-Controller-DBIC-API/lib/Catalyst/Controller/DBIC/API/RPC.pm ( view source; MetaCPAN )
 => 'application/json',
    'stash_key' => 'response',
    'map'       => {
        'application/x-www-form-urlencoded' => 'JSON',
        'application/json'                  => 'JSON',
    },
);



s
Acme-CPANModules-Import-CPANRatings-User-perlancar ( P/PE/PERLANCAR/Acme-CPANModules-Import-CPANRatings-User-perlancar-0.002.tar.gz, PERLANCAR, 2024; MetaCPAN )
Acme-CPANModules-Import-CPANRatings-User-perlancar/lib/Acme/CPANModules/Import/CPANRatings/User/perlancar.pm ( view source; MetaCPAN )
The-Tiny-Mandate\" rel=\"nofollow\">metacpan.org/pod/Time::Tiny#The-Tiny-...</a>\n",module=>"LWP::JSON::Tiny",rating=>undef},{description=>"\nAfter the last template change of the website which is one
iption=>"\nReview for 0.02: Performance-wise, still has some catching up to do against JSON::XS &amp; Cpanel::JSON::XS with regards to encoding arrays &amp; hashes.\r<br><br>UPDATE review for 0.19: Gi
d on-par/slightly better than the other JSON XS modules in some areas, while a bit worse in some other areas. Faster modules are always welcome.\n",module=>"JSON::Create",rating=>8},{description=>"\nC
Acme-CPANModules-HaveWebsite ( P/PE/PERLANCAR/Acme-CPANModules-HaveWebsite-0.005.tar.gz, PERLANCAR, 2024; MetaCPAN )
Acme-CPANModules-HaveWebsite/lib/Acme/CPANModules/HaveWebsite.pm ( view source; MetaCPAN )
website_url=>'https://mojolicious.org/'},
        {module=>'MooX::Role::JSON_LD', website_url=>'https://davorg.dev/moox-role-json_ld/'},
        {module=>'Padre', website_url=>'http://padre.perlide.or
//mojolicious.org/>

=item L<MooX::Role::JSON_LD>

Author: L<DAVECROSS|https://metacpan.org/author/DAVECROSS>

Website URL: L<https://davorg.dev/moox-role-json_ld/>

=item L<Padre>

Author: L<SZABGAB|
Acme-CPANModules-NO_COLOR ( P/PE/PERLANCAR/Acme-CPANModules-NO_COLOR-0.010.tar.gz, PERLANCAR, 2024; MetaCPAN )
Acme-CPANModules-NO_COLOR/lib/Acme/CPANModules/NO_COLOR.pm ( view source; MetaCPAN )
module=>'Git::Deploy', script=>'git-deploy'},
        {module=>'Indent::Form'},
        {module=>'JSON::Color'},
        {module=>'Log::Any::Adapter::Screen'},
        {module=>'Log::ger::Output::Scre
: L<git-deploy>

=item L<Indent::Form>

Author: L<SKIM|https://metacpan.org/author/SKIM>

=item L<JSON::Color>

Author: L<PERLANCAR|https://metacpan.org/author/PERLANCAR>

=item L<Log::Any::Adapter::S
Acme-CPANModules-Import-CPANRatings-User-stevenharyanto ( P/PE/PERLANCAR/Acme-CPANModules-Import-CPANRatings-User-stevenharyanto-0.002.tar.gz, PERLANCAR, 2024; MetaCPAN )
Acme-CPANModules-Import-CPANRatings-User-stevenharyanto/lib/Acme/CPANModules/Import/CPANRatings/User/stevenharyanto.pm ( view source; MetaCPAN )
nuse Benchmark qw(timethese);\r<br>\nuse Data::Seek;\r<br>\nuse Data::DPath qw(dpath);\r<br>\nuse JSON::Path;\r<br><br>my \$data = { map { \$_ =&gt; {map {\$_=&gt;[1..4]} 1..20} } &quot;a&quot;..&quot
,\r<br><br>dpath=&gt;sub{ dpath(&quot;/j/1/*&quot;)-&gt;match(\$data) }, \r<br><br>jpath=&gt;sub{ JSON::Path-&gt;new(q[\$.j.1.[*]])-&gt;values(\$data) },\r<br>\n});\r<br>\n###\r<br><br>###\r<br>\nBenc
ct subtree (must always select leaf node).\r<br><br>As alternatives, I recommend the much simpler JSON::Path, or the more powerful Data::DPath.\r<br>\n\n",module=>"Data::Seek",rating=>undef},{descript
Acme-CPANModules-TableData ( P/PE/PERLANCAR/Acme-CPANModules-TableData-0.002.tar.gz, PERLANCAR, 2024; MetaCPAN )
Acme-CPANModules-TableData/lib/Acme/CPANModules/TableData.pm ( view source; MetaCPAN )
 to manipulate table data. In
addition to a `TableData::*` module, you can also feed it CSV, TSV, JSON, YAML
files. The commands include: head, tail, sort, sum, avg, select rows, wc (count
rows), grep

<prog:fsql> (from <pm:App::fsql>) allows you to query `TableData::*` modules (as
well as CSV/TSV/JSON/YAML files) using SQL.


**Sah schemas**

<pm:Sah::Schemas::TableData>


**Tie**

<pm:Tie::Array:
to manipulate table data. In
addition to a C<TableData::*> module, you can also feed it CSV, TSV, JSON, YAML
files. The commands include: head, tail, sort, sum, avg, select rows, wc (count
rows), grep
App-CPANtoRPM ( S/SB/SBECK/App-CPANtoRPM-1.15.tar.gz, SBECK, 2024; MetaCPAN )
App-CPANtoRPM/bin/cpantorpm.pod ( view source; MetaCPAN )
ar formats.

=item META.json, MYMETA.json

For a description of the type of data stored here, please refer to the
CPAN-Meta documentation on CPAN.

In order to interpret a JSON file, you have to be ab
ing perl modules:

   Parse::CPAN::Meta 1.40
   JSON
   JSON::XS
   JSON::PP
   JSON::DWIW

Most of the information can be obtained from a complete JSON file.

=item META.yml, MYMETA.yml

For a descri
ns on a per-module
basis.  It can be either a YAML file (ending in .yaml or .yml) or
a JSON file (ending in .json).

A sample YAML file is:

   ---
   Crypt::SSLeay:
      - --config=--default

   Foo

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