Config::JSON 1.0.3
Sponsored Links
Config::JSON 1.0.3 Ranking & Summary
File size:
0.005 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
5544
Date added:
2007-04-12
Publisher:
JT Smith
Publisher URL:
http://search.cpan.org/~r
Config::JSON 1.0.3 description
Config::JSON is a JSON based config file system.
SYNOPSIS
use Config::JSON;
my $config = Config::JSON->create($pathToFile);
my $config = Config::JSON->new($pathToFile);
my $element = $config->get($param);
$config->set($param,$value);
$config->delete($param);
$config->deleteFromHash($name, $key);
$config->deleteFromArray($name, $value);
$config->addToHash($name, $key, $value);
$config->addToArray($name, $value);
my $path = $config->getFilename;
Example Config File
# config-file-type: JSON 1
{
"dsn" : "DBI:mysql:test",
"user" : "tester",
"password" : "xxxxxx",
# some colors to choose from
"colors" : [ "red", "green", "blue" ],
# some statistics
"stats" : {
"health" : 32,
"vitality" : 11
}
}
Note that you can put comments in the config file as long as # is the first non-space character on the line. However, if you use this API to write to the config file, your comments will be eliminated.
SYNOPSIS
use Config::JSON;
my $config = Config::JSON->create($pathToFile);
my $config = Config::JSON->new($pathToFile);
my $element = $config->get($param);
$config->set($param,$value);
$config->delete($param);
$config->deleteFromHash($name, $key);
$config->deleteFromArray($name, $value);
$config->addToHash($name, $key, $value);
$config->addToArray($name, $value);
my $path = $config->getFilename;
Example Config File
# config-file-type: JSON 1
{
"dsn" : "DBI:mysql:test",
"user" : "tester",
"password" : "xxxxxx",
# some colors to choose from
"colors" : [ "red", "green", "blue" ],
# some statistics
"stats" : {
"health" : 32,
"vitality" : 11
}
}
Note that you can put comments in the config file as long as # is the first non-space character on the line. However, if you use this API to write to the config file, your comments will be eliminated.
Config::JSON 1.0.3 Screenshot
Sponsored Links
Config::JSON 1.0.3 Keywords
JSON
JSON 1.0.3
ConfigJSON
Config file
Config
file
value
name
based
1.0.3
Config::JSON 1.0.3
Libraries
Programming
Bookmark Config::JSON 1.0.3
Config::JSON 1.0.3 Copyright
WareSeeker periodically updates pricing and software information of Config::JSON 1.0.3 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Config::JSON 1.0.3 Edition. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Config::JSON 1.0.3 Related Software
JSON (JavaScript Object Notation) is a lightweight data-interchange format.
JSON::DWIW is a Perl module that converts Perl data structures to and from JSON.
Config::General is a perl module opens a config file and parses its contents for you.
Template::Plugin::JSON is a Perl module that adds a .json vmethod for all TT values.
JSON::Shell is an interactive shell for performing JSON and JSON-RPC requests.
php-json is an extremely fast PHP C extension for JSON (JavaScript Object Notation) serialisation.
JSON-RPC-Java provides an RPC implementation that allows JavaScript DHTML Web applications to call remote methods.
My Software
You have not saved any software. Click "Save" next to each software to save it to your software basket
Related Information
Sponsored Links
TOP POPULAR DOWNLOAD