Group
Extension

Matches 2

RPC-ExtDirect-Client ( T/TO/TOKAREV/RPC-ExtDirect-Client-1.25.tar.gz, TOKAREV, 2016; MetaCPAN )
RPC-ExtDirect-Client/lib/RPC/ExtDirect/Client.pm ( view source; MetaCPAN )
e RPC::ExtDirect::Client;

use strict;
use warnings;
no  warnings 'uninitialized';

use Carp;
use JSON;

use File::Spec;

use RPC::ExtDirect::Util ();
use RPC::ExtDirect::Config;
use RPC::ExtDirect;

,
    # so that die() wouldn't munge it. Easier to do and beats stripping
    # that \n any time. JSON or other packages could throw a plain string
    # though, so we need to guard against that.
    
approved format, so no outer eval
    my $meta_json = $self->_formalize_metadata($method, $trans);
    
    $fields->{metadata} = $meta_json if $meta_json;

    return $fields;
}

### PRIVATE INSTANCE
RPC-ExtDirect-Client ( T/TO/TOKAREV/RPC-ExtDirect-Client-1.25.tar.gz, TOKAREV, 2016; MetaCPAN )
RPC-ExtDirect-Client/lib/RPC/ExtDirect/Client/API.pm ( view source; MetaCPAN )
Direct::Client::API;

use strict;
use warnings;
no  warnings 'uninitialized';   ## no critic

use JSON;

use RPC::ExtDirect::Util::Accessor;
use RPC::ExtDirect::Config;
use RPC::ExtDirect::API;

use b
ts
#

sub _decode_api {
    my ($js) = @_;

    $js =~ s/^[^{]+//;
    
    my ($api_js) = eval { JSON->new->utf8(1)->decode_prefix($js) };

    die "Can't decode API declaration: $@\n" if $@;

    di

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