perl-Data-Printer-Filter-JSON-0.3-alt1.noarch.rpm


Advertisement

Description

perl-Data-Printer-Filter-JSON - pretty-print your decoded JSON structures!

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Data-Printer-Filter-JSON-0.3-alt1.noarch.rpm
Package name perl-Data-Printer-Filter-JSON
Package version 0.3
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 6.37 KB
Installed size 6.37 KB
Almost every JSON decoder on CPAN handles JavaScript's booleans with objects, and some
even reuse them in the resulting data structure. The result? A tiny JSON like this:
{
"alpha": true,
"beta" : false,
"gamma": true,
"zeta" : false
}
Results in this Data::Printer output:
\ {
alpha   JSON::XS::Boolean  {
Parents       JSON::Boolean
public methods (0)
private methods (1) : __ANON__
internals: 1
},
beta    JSON::XS::Boolean  {
Parents       JSON::Boolean
public methods (0)
private methods (1) : __ANON__
internals: 0
},
gamma   var{alpha},
zeta    var{beta}
}
While all I wanted was this:
\ {
alpha   true,
beta    false,
gamma   true,
zeta    false
}
This module fixes that! :)

Alternatives

Package Version Architecture Repository
perl-Data-Printer-Filter-JSON - - -

Requires

Name Value
/usr/share/perl5 -
perl(Data/Printer/Filter.pm) -
perl(Term/ANSIColor.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Data/Printer/Filter/JSON.pm) = 0.300
perl-Data-Printer-Filter-JSON = 0.3-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Data-Printer-Filter-JSON-0.3-alt1.noarch.rpm
Source Package perl-Data-Printer-Filter-JSON-0.3-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Data-Printer-Filter-JSON rpm package:
    # sudo apt-get install perl-Data-Printer-Filter-JSON

Files

Path
/usr/share/doc/perl-Data-Printer-Filter-JSON-0.3/Changes
/usr/share/doc/perl-Data-Printer-Filter-JSON-0.3/README
/usr/share/perl5/Data/
/usr/share/perl5/Data/Printer/
/usr/share/perl5/Data/Printer/Filter/JSON.pm

See Also

Package Description
perl-Data-Printer-Filter-PDL-0.007-alt1.noarch.rpm Filter for L<Data::Printer> that handles L<PDL> data
perl-Data-Printer-Filter-URI-0.008-alt1.noarch.rpm pretty-printing URI objects
perl-Data-Printer-Scoped-0.001004-alt1.noarch.rpm silence Data::Printer except in a controlled scope
perl-Data-PrioQ-SkewBinomial-0.03-alt1.noarch.rpm A functional priority queue based on skew binomial trees
perl-Data-Processor-1.0.2-alt1.noarch.rpm Transform Perl Data Structures, Validate Data against a Schema, Produce Data from a Schema, or prod
perl-Data-Promise-0.001-alt1.noarch.rpm simple promise like interface
perl-Data-Properties-0.02-alt1_25.noarch.rpm Persistent properties
perl-Data-Properties-JSON-0.004-alt1.noarch.rpm JSON test fixtures
perl-Data-Properties-YAML-0.04-alt1.noarch.rpm YAML-ized properties for your application
perl-Data-PropertyList-1998.1217-alt1.noarch.rpm perl module Data-PropertyList
perl-Data-Pulp-0.01-alt1.noarch.rpm Pulp your data into a consistent goop
perl-Data-Pwgen-0.14-alt1.noarch.rpm simple password generation and assessment
perl-Data-Queue-1.0002-alt1.noarch.rpm Order/Unordered stack
perl-Data-Queue-Batch-0.04-alt1.noarch.rpm FIFO data structure for "batching" items
perl-Data-Queue-Persistent-0.13-alt1.noarch.rpm perl module Data-Queue-Persistent
Advertisement
Advertisement