Group
Extension

Matches 35358

String-Sections ( K/KE/KENTNL/String-Sections-0.3.2.tar.gz, KENTNL, 2013; MetaCPAN )
String-Sections/lib/String/Sections/Result.pm ( view source; MetaCPAN )
section('bar');

=begin MetaPOD::JSON v1.1.0

{
    "namespace":"String::Sections::Result",
    "interface":"class",
    "inherits":"Moo::Object"
}


=end MetaPOD::JSON

=head1 AUTHOR

Kent Fredric <k
WebService-FileCloud ( D/DE/DEFCON/WebService-FileCloud-0.3.tar.gz, DEFCON, 2013; MetaCPAN )
WebService-FileCloud/lib/WebService/FileCloud.pm ( view source; MetaCPAN )
package WebService::FileCloud;

use strict;
use warnings;

use JSON;
use LWP::UserAgent;
use HTTP::Request::Common qw( $DYNAMIC_FILE_UPLOAD );

our $VERSION = '0.3';

use constant BASE_URI => 'http://
	@_};

    $self->{'ua'} = LWP::UserAgent->new( timeout => $self->{'timeout'} );
    $self->{'json'} = JSON->new();

    bless( $self, $class );

    return $self;
}

sub fetch_apikey {

    my ( $sel


        $self->{'error'} = $response->status_line();
        return;
    }

    return $self->{'json'}->decode( $response->decoded_content() );
}

sub fetch_account_details {

    my ( $self, %args 
Data-Dumper-Limited ( S/SM/SMUELLER/Data-Dumper-Limited-0.03.tar.gz, SMUELLER, 2013; MetaCPAN )
Data-Dumper-Limited/lib/Data/Dumper/Limited.pm ( view source; MetaCPAN )
r (similar to JSON::XS in our benchmarks)?

The power of this module is very similar to that of generating JSON, except it
can dump scalar references, dumps top-level non-references (JSON must be an a
ects).

L<JSON::XS> contains some excellent code that is very similar to
the code in this module for a reason: It solves a similar problem and
we included much of the code structure from JSON::XS. Tha
ent JSON::XS module due to obvious overlap in
problem domain.

=head1 COPYRIGHT AND LICENSE

Copyright (C) 2012, 2013 by Steffen Mueller

Except portions taken from Marc Lehmann's code for the JSON::X
WebService-FileCloud ( D/DE/DEFCON/WebService-FileCloud-0.3.tar.gz, DEFCON, 2013; MetaCPAN )
WebService-FileCloud/lib/WebService/FileCloud.pod ( view source; MetaCPAN )
he B<error()> method to get an error message as to why it failed.
Otherwise, they should return a JSON-decoded hashref as is directly from
filecloud.io (which may also contain an error).

=head2 fetch
 API itself.

  $error = $websvc->error() if ( !$result );

=head1 SEE ALSO

L<LWP::UserAgent>,
L<JSON>

L<http://filecloud.io> and L<https://code.google.com/p/filecloud/>

=head1 AUTHOR

Mitch McCrac
Package-Debug ( K/KE/KENTNL/Package-Debug-0.2.2.tar.gz, KENTNL, 2013; MetaCPAN )
Package-Debug/lib/Package/Debug/Object.pm ( view source; MetaCPAN )
ug_verbatim>|/debug_verbatim >>

=begin MetaPOD::JSON v1.1.0

{
    "namespace":"Package::Debug::Object",
    "interface":"class"
}


=end MetaPOD::JSON

=head1 AUTHOR

Kent Fredric <kentfredric@gmail
Package-Debug ( K/KE/KENTNL/Package-Debug-0.2.2.tar.gz, KENTNL, 2013; MetaCPAN )
Package-Debug/lib/Package/Debug.pm ( view source; MetaCPAN )
vironment or configuration files.

=begin MetaPOD::JSON v1.1.0

{
    "namespace":"Package::Debug",
    "interface":"exporter"
}


=end MetaPOD::JSON

=head1 EXPECTED FEATURES

=over 4

=item * Deferr
WebService-Nonoh ( A/AN/ANEI/WebService-Nonoh-0.1.tar.gz, ANEI, 2013; MetaCPAN )
WebService-Nonoh/lib/WebService/Nonoh.pm ( view source; MetaCPAN )
se CGI;
    use Text::Balanced qw(extract_bracketed extract_quotelike extract_codeblock);
    use JSON::PP;
    use XML::LibXML;
    use Hash::Util qw(lock_ref_keys_plus lock_keys);
    use MIME::Base
_ } $q->param($n) } $q->param ],
				'X-Requested-With' => 'XMLHttpRequest');
	    my $d = decode_json $self->{mech}->content;
	    lock_ref_keys_plus($d, qw(code endcause calculated_balance));
	    $
WebService-Antispam ( S/SH/SHAGY/WebService-Antispam-1.04.tar.gz, SHAGY, 2013; MetaCPAN )
WebService-Antispam/lib/WebService/Antispam.pm ( view source; MetaCPAN )
6;
use strict;
use warnings FATAL => 'all';
use JSON::XS;
use LWP::UserAgent;

our $VERSION = '1.04'; 

# JSON object
my $json_xs = JSON::XS->new;
$json_xs->utf8(1);

my %connection_params = (
    'se
json');
    $request->content($json_xs->encode($params));

    my $result = undef;
    my $response = $ua->request($request);
    if ($response->is_success) {
        eval{
            $result = $json
nd etc. This request then passed to one of cleantalk.org servers via HTTP + JSON. Server returns an answer encoded with JSON, this answer consist values indicates spam or not this comment/registration
OAuth2-Box ( R/RE/RENEEB/OAuth2-Box-0.03.tar.gz, RENEEB, 2013; MetaCPAN )
OAuth2-Box/lib/OAuth2/Box.pm ( view source; MetaCPAN )
STRACT: Authorize with Box.com 

use strict;
use warnings;

use Carp::Assert;
use HTTP::Tiny;
use JSON;
use Moo;
use Types::Standard qw(Str InstanceOf);
use URI;

our $VERSION = 0.03;

use constant BO
Tiny"], lazy => 1, default => sub { HTTP::Tiny->new } );
has jsonp => ( is => 'lazy', isa => InstanceOf["JSON"] );

sub _build_jsonp { JSON->new->allow_nonref }

sub authorization_uri {
    my ($self,
      },
    );

    if ( $result->{success} and $result->{content} ) {
        my $data = $self->jsonp->decode( $result->{content} );

        return wantarray ?
            ( $data->{access_token}, 
WWW-Github-Files ( S/SE/SEMUELF/WWW-Github-Files-0.13.tar.gz, SEMUELF, 2013; MetaCPAN )
WWW-Github-Files/lib/WWW/Github/Files.pm ( view source; MetaCPAN )
package WWW::Github::Files;
use strict;
use warnings;
use LWP::UserAgent;
use JSON qw{decode_json};
use Carp;

our $VERSION = 0.13;

sub new {
    my ($class, %options) = @_;

    die "Please pass a a
message(). ", ".$res->content;
        }
    }
    my $content = $res->content;
    return decode_json($content);
}

package WWW::Github::Files::File;
use MIME::Base64 qw{decode_base64};

sub is_file 
WebService-Eventful ( S/SD/SDDREITER/WebService-Eventful-1.05.tar.gz, SDDREITER, 2013; MetaCPAN )
WebService-Eventful/lib/WebService/Eventful.pm ( view source; MetaCPAN )
:Eventful->new(app_key => $app_key, flavor => 'yaml');

Valid flavors are C<rest>, C<yaml>, and C<json>.

=cut

sub new
{
  my $thing = shift;
  my $class = ref($thing) || $thing;
  
  my %params = @_
WebService-Box ( R/RE/RENEEB/WebService-Box-0.02.tar.gz, RENEEB, 2013; MetaCPAN )
WebService-Box/lib/WebService/Box/Request.pm ( view source; MetaCPAN )
 Moo;
use Types::Standard qw(InstanceOf Dict Str);
use HTTP::Tiny;
use HTTP::Tiny::Multipart;
use JSON;

use WebService::Box::Types::Library qw(OptionalStr);

our $VERSION = 0.01;

has session     => 
 error       => (is => 'rwp', isa => OptionalStr );
has jsonp       => (is => 'ro',  isa => InstanceOf["JSON"], lazy => 1, builder => sub { JSON->new->allow_nonref } );
has auth_header => (
    is    

        $self->_set_error( $result->{content} );
        return;
    }

    my %data = %{ $self->jsonp->decode( $result->{content} || "{}" ) || {} };
    return %data;
}

sub _files_upload {
    my (
Geo-Google-PolylineEncoder ( R/RR/RRWO/Geo-Google-PolylineEncoder-0.06.tar.gz, RRWO, 2013; MetaCPAN )
Geo-Google-PolylineEncoder/lib/Geo/Google/PolylineEncoder.pm ( view source; MetaCPAN )
C_mqNvxq`@
  print $eline->{levels};      # POP

  # in Javascript, assuming eline was encoded as JSON:
  # ... load GMap2 ...
  var opts = {
    points: eline.points,
    levels: eline.levels,
    nu
num_levels => int($num_levels),
   zoom_factor => int($zoom_factor),
  };

You can then use the L<JSON> modules (or XML, or whatever) to pass the encoded
values to your Javascript application for use 
/GoogleMaps/EncodePolyline/PolylineEncoderClass.html>
(JavaScript implementation),
L<http://www.usnaviguide.com/google-encode.htm> (similar implementation in perl),
L<Geo::Google>,
L<JSON::Any>

=cut
Tropo ( R/RE/RENEEB/Tropo-0.16.tar.gz, RENEEB, 2013; MetaCPAN )
Tropo/lib/Tropo/WebAPI/Call.pm ( view source; MetaCPAN )
   => Str,
    required => 1,
);

has from => (
    is  => 'ro',
    isa => Str,
    exclude_from_json => 1,
);

has ['network', 'channel'] => (
    is  => 'ro',
    isa => Str,
);

has 'answer_on_med
Tropo ( R/RE/RENEEB/Tropo-0.16.tar.gz, RENEEB, 2013; MetaCPAN )
Tropo/lib/Tropo.pm ( view source; MetaCPAN )
ict;
use warnings;

use Moo;
use Types::Standard qw(ArrayRef);
use Path::Tiny;
use JSON;

use overload '""' => \&json;

our $VERSION = 0.16;

has objects => (
    is      => 'rw',
    isa     => Array
 tropo => \@objects,
    };
    
    return $data;
}

sub json {
    my ($self) = @_;
    
    my $data   = $self->perl;
    my $string = JSON->new->encode( $data );
    
    return $string;
}

sub ad
  to => $clients_phone_number,
  );
  $tropo->say( 'hello ' . $client_name );
  $tropo->json;

Creates this JSON output:

  {
      "tropo":[
          {
              "call": {
                      
WWW-TheMovieDB ( P/PJ/PJOBSON/WWW-TheMovieDB-0.05.tar.gz, PJOBSON, 2013; MetaCPAN )
WWW-TheMovieDB/lib/WWW/TheMovieDB.pm ( view source; MetaCPAN )
000;
use strict;
use warnings;
use HTTP::Request;
use LWP::UserAgent;
use URI::Escape;
use JSON qw(encode_json);

our $VERSION = '0.05';
our $EMPTY = q{};
our $SL = q{/};
our $AM = q{&};
our $EQ = q{=
>{'version'}          || '3';
	$package->{'type'}             = $params->{'type'}             || 'json';
	$package->{'uri'}              = $params->{'uri'}              || 'http://api.themoviedb.org';
y $params = shift;

	my $url = $params->{'url'};
	my $method = $params->{'method'};
	my $json = $params->{'json'} || $EMPTY;

	my $ua = LWP::UserAgent->new;
	   $ua->agent("WWW::TheMovieDB/". $VERSION
Data-Stag ( C/CM/CMUNGALL/Data-Stag-0.14.tar.gz, CMUNGALL, 2013; MetaCPAN )
Data-Stag/Data/Stag/StagImpl.pm ( view source; MetaCPAN )
rl/i) {
        $writer = "Data::Stag::PerlWriter";
    }
    elsif ($fmt =~ /json/i) {
        $writer = "Data::Stag::JSONWriter";
    }
    elsif ($fmt =~ /dtd/i) {
        $writer = "Data::Stag::DT
Data-Stag ( C/CM/CMUNGALL/Data-Stag-0.14.tar.gz, CMUNGALL, 2013; MetaCPAN )
Data-Stag/Data/Stag/JSONWriter.pm ( view source; MetaCPAN )
package Data::Stag::JSONWriter;

=head1 NAME

  Data::Stag::JSONWriter - writes stag events into JSON files

=head1 SYNOPSIS


=cut

=head1 DESCRIPTION

=head1 PUBLIC METHODS -

=cut

use strict;
use 
se JSON;

use vars qw($VERSION);
$VERSION="0.14";

sub fmtstr {
    return 'json';
}

sub end_stag {
    my $self = shift;
    my $stag = shift;
    my $obj = $self->stag2json($stag);

    my $json = 
JSON->new->allow_nonref;
    my $json_text = $json->pretty->encode( $obj );
    $self->addtext($json_text);
    return;
}

sub stag2json {
    my $self = shift;
    my $stag = shift;
    my $obj = {};
RDF-TriN3 ( T/TO/TOBYINK/RDF-TriN3-0.206.tar.gz, TOBYINK, 2013; MetaCPAN )
RDF-TriN3/lib/RDF/TrineX/Parser/Pretdsl.pm ( view source; MetaCPAN )
	m`HTML::HTML5::Parser HTML-HTML5-Parser 0.200 cpan:TOBYINK`

	# Trailing "::" can disambiguate
	`JSON::`

Packages:

	# Always need the disambiguation letter to avoid confusion
	# with modules
	p`HTM
FWS-V2 ( N/NA/NATELEWIS/FWS-V2-1.13091122.tar.gz, NATELEWIS, 2013; MetaCPAN )
FWS-V2/lib/FWS/V2/Safety.pm ( view source; MetaCPAN )
/_/sg;
    $incomingText =~ s/^\s+//;
    return $incomingText;
}


=head2 safeJSON

Replace any thing harmful to an JSON node that could cause it to fail.  It will escape stuff like quotes and such.
This "Can not" be in json';
    my $safeSillyNode = $fws->safeJSON( $sillyNode );
    print 'Safe JSON: '.$sillyNode;

=cut


sub safeJSON {
    my ( $self, $incomingText ) = @_;
    $incomingText =~ 

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