perl-Data-Properties-JSON-0.004-alt1.noarch.rpm


Advertisement

Description

perl-Data-Properties-JSON - JSON test fixtures

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Data-Properties-JSON-0.004-alt1.noarch.rpm
Package name perl-Data-Properties-JSON
Package version 0.004
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 3.04 KB
Installed size 3.04 KB
File `/path/to/file.json'
{
"contact_form": {
"first_name": "John",
"last_name":  "Doe",
"email":      "john.doe@test.com",
"message":    "This is a test message...just a test."
}
}
Your Perl code:
use Data::Properties::JSON;
my $props = Data::Properties::JSON->new(
properties_file => "/path/to/file.json"
);
-- or --
my $props = Data::Properties::JSON->new( json => $json_string );
-- or --
my $props = Data::Properties::JSON->new( data => { foo => "bar" } );
$props->contact_form->first_name; # John
$props->contact_form->last_name;  # Doe
$props->contact_form->email;      # john.doe@test.com
my %hash    = $props->contact_form->as_hash;
my $hashref = $props->contact_form->as_hash;

Alternatives

Package Version Architecture Repository
perl-Data-Properties-JSON - - -

Requires

Name Value
/usr/share/perl5 -
perl(JSON/XS.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Data/Properties/JSON.pm) = 0.004
perl-Data-Properties-JSON = 0.004-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Data-Properties-JSON-0.004-alt1.noarch.rpm
Source Package perl-Data-Properties-JSON-0.004-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-Properties-JSON rpm package:
    # sudo apt-get install perl-Data-Properties-JSON

Files

Path
/usr/share/doc/perl-Data-Properties-JSON-0.004/Changes
/usr/share/perl5/Data/
/usr/share/perl5/Data/Properties/JSON.pm

See Also

Package Description
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
perl-Data-Radius-1.2.2-alt1.noarch.rpm unknown
perl-Data-Rand-0.0.4-alt1.noarch.rpm perl module Data-Rand
perl-Data-Rand-Obscure-0.021-alt1.noarch.rpm Generate (fairly) random strings easily
perl-Data-Random-Contact-0.05-alt1.noarch.rpm Generate random contact data
perl-Data-Random-Flexible-1.06-alt1.noarch.rpm Flexible fast-to-write profilable randoms
perl-Data-Random-NL-1.6-alt1.noarch.rpm Tools for generating random Dutch numbers
perl-Data-Random-NL-scripts-1.6-alt1.noarch.rpm Data-Random-NL scripts
perl-Data-Random-Nucleotides-0.1-alt1.noarch.rpm Generate random nucleotide strings
Advertisement
Advertisement