Group
Extension

Matches 35359

Bio-JBrowse-Store-NCList ( R/RB/RBUELS/Bio-JBrowse-Store-NCList-0.1.tar.gz, RBUELS, 2013; MetaCPAN )
Bio-JBrowse-Store-NCList/lib/Bio/JBrowse/Store/NCList/ArrayRepr.pm ( view source; MetaCPAN )
end: 6, strand: 1},
            ...
        ]

    we can represent them more compactly (e.g., in JSON) something like this:

        class = ["start", "end", "strand"]

        [
            [1, 2, -
Apache-Hadoop-WebHDFS ( A/AF/AFARIS/Apache-Hadoop-WebHDFS-0.04.tar.gz, AFARIS, 2013; MetaCPAN )
Apache-Hadoop-WebHDFS/lib/Apache/Hadoop/WebHDFS.pm ( view source; MetaCPAN )
tent of request, which can be formated
# $m -> ct()       content type returned, ie: 'application/json'
# $m -> status()   HTTP status code of response

sub redirect_ok {
    # need to allow 'put' to 
ontent returned from WebHDFS is left in the native JSON format. Including your favorite JSON module like JSON::Any 
will help with mangaging the JSON output.   To get access to the content stored in y
le=>'my/new/hdfs/file.txt',
                             });

=item * getfilestatus() - returns a json structure containing status of file or directory.  Required input is a HDFS path.
   
         $h
HTML-Embedded-Turtle ( T/TO/TOBYINK/HTML-Embedded-Turtle-0.404.tar.gz, TOBYINK, 2013; MetaCPAN )
HTML-Embedded-Turtle/lib/HTML/Embedded/Turtle.pm ( view source; MetaCPAN )
\s*(application/rdf\+xml)|(text/rdf)\b'i;
		return 'RDF::Trine::Parser::RDFJSON'->new   if m'^\s*application/(x-)?(rdf\+)?json\b'i;
	}
	
	return undef;
}

sub _choose_parser_by_language
{
	shift;
	ret
ation/x-turtle
text/plain (N-Triples), text/n3 (Notation 3), application/x-rdf+json (RDF/JSON),
application/json (RDF/JSON), and application/rdf+xml (RDF/XML).

The deprecated attribute "language" is 
e" id="foo"> ... </script>

Languages supported are (case insensitive): "Turtle", "NTriples", "RDFJSON",
"RDFXML" and "Notation3".

=head2 Constructor

=over 4

=item C<< HTML::Embedded::Turtle->new($
Net-Amazon-S3-Policy ( P/PO/POLETTIX/Net-Amazon-S3-Policy-0.1.6.tar.gz, POLETTIX, 2013; MetaCPAN )
Net-Amazon-S3-Policy/lib/Net/Amazon/S3/Policy.pm ( view source; MetaCPAN )
strict;
use version; our $VERSION = qv('0.1.6');

use Carp;
use English qw( -no_match_vars );
use JSON;
use Encode ();
use MIME::Base64 qw< decode_base64 >;

use Exporter;
our @ISA = qw( Exporter );
o
gs  = ref($_[0]) ? %{$_[0]} : @_;
   my $self  = bless {}, $class;

   if ($args{json}) {
      $self->parse($args{json});
   }
   else {
      $self->expiration($args{expiration}) if defined $args{ex
ax];
}

sub json {
   my ($self, $args) = @_;
   my %params = %$self;
   delete $params{expiration} unless defined $params{expiration};
   return to_json(\%params, $args);
} ## end sub json

sub base6
Task-BeLike-Cebjyre ( C/CE/CEBJYRE/Task-BeLike-Cebjyre-1.0.2.tar.gz, CEBJYRE, 2013; MetaCPAN )
Task-BeLike-Cebjyre/lib/Task/BeLike/Cebjyre.pm ( view source; MetaCPAN )
::Pod::Coverage>

=head3 L<Pod::Coverage::TrustPod>

=head2 Misc

=head3 L<File::chdir>

=head3 L<JSON>

=head3 L<Log::Log4perl>

=head3 L<Module::Find>

=head3 L<Telephony::CountryDialingCodes>

=hea
Data-SplitSerializer ( B/BB/BBYRD/Data-SplitSerializer-0.91.tar.gz, BBYRD, 2013; MetaCPAN )
Data-SplitSerializer/lib/Data/SplitSerializer.pm ( view source; MetaCPAN )
ata::Dumper>, would turn the entire object into a string, much like the real code
above.  Or into JSON, XML, BerkleyDB, etc.  But, the end values would be lost in the stream.  If you were given an obj
Bio-JBrowse-Store-NCList ( R/RB/RBUELS/Bio-JBrowse-Store-NCList-0.1.tar.gz, RBUELS, 2013; MetaCPAN )
Bio-JBrowse-Store-NCList/lib/Bio/JBrowse/Store/NCList/IntervalStore.pm ( view source; MetaCPAN )
   formatVersion => 1
        };

    $self->store->put( 'trackData.'.( $self->{compress} ? 'jsonz' : 'json' ), $trackData);

}

sub writeHistograms {
    my ( $self ) = @_;
    #this series of number
 my $getStart = $attrs->makeGetter("start");
    my $getEnd = $attrs->makeGetter("end");

    my $jsonStore = $self->store;
    my $refEnd = $self->lazyNCList->maxEnd || 0;
    my $featureCount = $sel
istChunkSize);
        for (my $k = 0; $k <= $#{$chunks}; $k++) {
            $jsonStore->put("hist-$histBases-$k" . $jsonStore->ext,
                            $chunks->[$k]);
        }
        push
Module-Package-RDF ( T/TO/TOBYINK/Module-Package-RDF-0.014.tar.gz, TOBYINK, 2013; MetaCPAN )
Module-Package-RDF/lib/Module/Package/RDF.pm ( view source; MetaCPAN )
 {$self->mi->clean_files('META.yml')});
	$self->post_all_from(sub {$self->mi->clean_files('MYMETA.json')});
	$self->post_all_from(sub {$self->mi->clean_files('MYMETA.yml')});
	$self->post_all_from(sub
DBI-Test ( R/RE/REHSACK/DBI-Test-0.001.tar.gz, REHSACK, 2013; MetaCPAN )
DBI-Test/lib/DBI/Test/DSN/Provider/Config.pm ( view source; MetaCPAN )
y $json;
my $have_config_any;
my $have_file_configdir;
my $have_file_find_rule;

BEGIN
{
    foreach my $mod (qw(JSON JSON::PP))
    {
        eval "require $mod";
        $@ and next;
        $json =
    last;
    }

    # $json or die "" . __PACKAGE__ . " requires a JSON parser";
    # finally ... Config::Any could be enough, and most recent
    # perl5 are coming with JSON::PP

    $have_file_co
fdirs;
  };

$have_config_any
  or *get_config_pattern = sub {
    my @pattern;
    $json and push( @pattern, "json" );
    @pattern;
  };

$have_config_any
  and *get_config_pattern = sub {
    my @p
Bio-JBrowse-Store-NCList ( R/RB/RBUELS/Bio-JBrowse-Store-NCList-0.1.tar.gz, RBUELS, 2013; MetaCPAN )
Bio-JBrowse-Store-NCList/lib/Bio/JBrowse/Store/NCList/JSONFileStorage.pm ( view source; MetaCPAN )
 Bio::JBrowse::Store::NCList::JSONFileStorage;
BEGIN {
  $Bio::JBrowse::Store::NCList::JSONFileStorage::AUTHORITY = 'cpan:RBUELS';
}
{
  $Bio::JBrowse::Store::NCList::JSONFileStorage::VERSION = '0.1';
;
use JSON 2 ();
use IO::File;
use Fcntl ":flock";
use PerlIO::gzip;

use constant DEFAULT_MAX_JSON_DEPTH => 2048;


sub new {
    my ($class, $outDir, $compress, $opts) = @_;

    # create JSON objec
   my $json = JSON->new->relaxed->max_depth( DEFAULT_MAX_JSON_DEPTH );
    # set opts
    if (defined($opts) and ref($opts) eq 'HASH') {
        for my $method (keys %$opts) {
            $json->$meth
carton ( M/MI/MIYAGAWA/carton-v0.9.67-TRIAL.tar.gz, MIYAGAWA, 2013; MetaCPAN )
carton/lib/Carton/Doc/Check.pod ( view source; MetaCPAN )
heck> will warn you about
this:

  $ carton check
  Following dependencies are not satisfied.
    JSON has version 2.51. Needs 2.52
  Run `carton install` to install them.

You can run C<carton instal
carton ( M/MI/MIYAGAWA/carton-v0.9.67-TRIAL.tar.gz, MIYAGAWA, 2013; MetaCPAN )
carton/lib/Carton/Util.pm ( view source; MetaCPAN )
;
use strict;
use warnings;

sub load_json {
    my $file = shift;

    open my $fh, "<", $file or die "$file: $!";
    from_json(join '', <$fh>);
}

sub dump_json {
    my($data, $file) = @_;

    op
binmode $fh;
    print $fh to_json($data);
}

sub from_json {
    require JSON;
    JSON::decode_json(@_);
}

sub to_json {
    my($data) = @_;
    require JSON;
    JSON->new->utf8->pretty->canonical
MARC-File-MiJ ( G/GM/GMCHARLT/MARC-File-MiJ-0.04.tar.gz, GMCHARLT, 2013; MetaCPAN )
MARC-File-MiJ/lib/MARC/Record/MiJ.pm ( view source; MetaCPAN )
::MiJ;
use ex::monkeypatched;
use JSON;
use 5.006;
use strict;
use warnings FATAL => 'all';

=head1 NAME

MARC::Record::MiJ - Convert MARC::Record to/from marc-in-json structure

=head1 VERSION

Versi
 my $str = get_marc_in_json_from_somewhere;

  # The most common use will be to use methods monkeypatched into MARC::Record
  my $r = MARC::Record->new_from_mij($str);
  my $json = $r->to_mij;

  # Yo
u can also work with the underlying hash/array structure if you're dealing with
  # json serialization/deserialization on your own

  my $mij_structure = $r->to_mij_structure;
  my $r = MARC::Record->
oauth-lite2 ( R/RI/RITOU/oauth-lite2-0.05.tar.gz, RITOU, 2013; MetaCPAN )
oauth-lite2/lib/OAuth/Lite2/Formatters.pm ( view source; MetaCPAN )
package OAuth::Lite2::Formatters;

use strict;
use warnings;

use OAuth::Lite2::Formatter::JSON;
use OAuth::Lite2::Formatter::XML;
use OAuth::Lite2::Formatter::FormURLEncoded;
use OAuth::Lite2::Format
S_BY_TYPE{$formatter->type} = $formatter;
}

__PACKAGE__->add_formatter( OAuth::Lite2::Formatter::JSON->new );
__PACKAGE__->add_formatter( OAuth::Lite2::Formatter::XML->new );
__PACKAGE__->add_formatt
ter = OAuth::Lite2::Formatter->get_formatter_by_name("json");
    my $formatter = OAuth::Lite2::Formatter->get_formatter_by_type("application/json");

    my $obj = $formatter->parse( $string );
    $
PortageXS ( K/KE/KENTNL/PortageXS-0.3.1.tar.gz, KENTNL, 2013; MetaCPAN )
PortageXS/lib/PortageXS/Version.pm ( view source; MetaCPAN )
<CPANPLUS::Dist::Gentoo::Version>

=begin MetaPOD::JSON v1.1.0

{
    "namespace":"PortageXS::Version",
    "interface":"class"
}


=end MetaPOD::JSON

=head1 METHODS

=head2 C<new $vstring>

Creates 
PortageXS ( K/KE/KENTNL/PortageXS-0.3.1.tar.gz, KENTNL, 2013; MetaCPAN )
PortageXS/lib/PortageXS.pm ( view source; MetaCPAN )
E

PortageXS - Portage abstraction layer for perl

=head1 VERSION

version 0.3.1

=begin MetaPOD::JSON v1.1.0

{
    "namespace":"PortageXS",
    "interface":"class",
    "does":[
        "PortageXS::
:System",
        "PortageXS::UI::Console",
        "PortageXS::Useflags"
    ]
}


=end MetaPOD::JSON

=head1 NAMING

For CPAN users, the name of this module is likely confusing, and annoying.

=over
PortageXS ( K/KE/KENTNL/PortageXS-0.3.1.tar.gz, KENTNL, 2013; MetaCPAN )
PortageXS/lib/PortageXS/Colors.pm ( view source; MetaCPAN )
d2 task_color_info

=begin MetaPOD::JSON v1.1.0

{
    "namespace":"PortageXS::Colors",
    "interface":"class",
    "inherits":"Moo::Object"
}


=end MetaPOD::JSON

=head1 AUTHORS

=over 4

=item *

PortageXS ( K/KE/KENTNL/PortageXS-0.3.1.tar.gz, KENTNL, 2013; MetaCPAN )
PortageXS/lib/PortageXS/UI/Spinner.pm ( view source; MetaCPAN )
output_handle >>

=begin MetaPOD::JSON v1.1.0

{
    "namespace":"PortageXS::UI::Spinner",
    "inherits":"Moo::Object",
    "interface":"class"
}


=end MetaPOD::JSON

=head1 AUTHORS

=over 4

=item 
MARC-File-MiJ ( G/GM/GMCHARLT/MARC-File-MiJ-0.04.tar.gz, GMCHARLT, 2013; MetaCPAN )
MARC-File-MiJ/lib/MARC/File/MiJ.pm ( view source; MetaCPAN )
ord::MiJ;
use base qw(MARC::File);

=head1 NAME

MARC::File::MiJ - Read newline-delimited marc-in-json files

=head1 VERSION

Version 0.04

=cut

our $VERSION = '0.04';


=head1 SYNOPSIS

Use by itsel
eader = new MARC::Batch('MiJ', $jsonfilename);
    while (my $r = $batch->next) { ... }

    # or, use it without MARC::Batch
    my $reader = MARC::File::MiJ->in($jsonfilename);
    
=head1 DESCRIPTI
s newline-delimited marc-in-json,
as supported by pymarc/ruby-marc/marc4j and
described at http://dilettantes.code4lib.org/blog/2010/09/a-proposal-to-serialize-marc-in-json/.



=head1 SUBROUTINES/MET
PortageXS ( K/KE/KENTNL/PortageXS-0.3.1.tar.gz, KENTNL, 2013; MetaCPAN )
PortageXS/lib/PortageXS/System.pm ( view source; MetaCPAN )
eXS

=head1 VERSION

version 0.3.1

=begin MetaPOD::JSON v1.1.0

{
    "namespace":"PortageXS::System",
    "interface":"role"
}


=end MetaPOD::JSON

=head1 AUTHORS

=over 4

=item *

Christian Hartm

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