Main > Programming > Libraries >

JSON::PC 0.01

JSON::PC 0.01

Sponsored Links

JSON::PC 0.01 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.047 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 833
Date added: 2007-07-21

JSON::PC 0.01 description

JSON::PC is a fast JSON parser and converter.

SYNOPSIS

use JSON::PC;

my $json = new JSON::PC;

my $obj = $json->parse(q/{foo => [1,2,3], bar => "perl"}/);

print $json->convert($obj);

# or

$obj = JSON::PC::parse(q/{foo => [1,2,3], bar => "perl"}/);
print JSON::PC::convert($obj);

METHODS

Except new method, all methods are object method.

new()

new(%option)

This is a class method and returns new JSON::PC object.

parse($str)

parse($str, $options_ref)

takes JSON foramt string and returns perl data structure. jsonToObj is an alias.

convert($obj)

convert($obj, $options_ref)

takes perl data structure and returns JSON foramt string. objToJson is an alias.

autoconv($int)

This is an accessor to autoconv. See "AUTOCONVERT" for more info.

skipinvalid($int)

convert() does die() when it encounters any invalid data (for instance, coderefs). If skipinvalid is set with true(integer), the function convets these invalid data into JSON formats null.

execcoderef($int)

convert() does die() when it encounters any code reference. However, if execcoderef is set with true(integer), executes the coderef and uses returned value.

pretty($int)

This is an accessor to pretty. When prrety is true(integer), objToJson() returns prrety-printed string. See "PRETTY PRINTING" for more info.

indent($int)

This is an accessor to indent. See "PRETTY PRINTING" for more info.

delimiter($int)

This is an accessor to delimiter. See "PRETTY PRINTING" for more info.

unmapping($int)

This is an accessor to unmapping. See "UNMAPPING OPTION" for more info.

keysort($int)

keysort($code_ref)

This is an accessor to keysort. See "HASH KEY SORT ORDER" for more info.

convblessed($int)

This is an accessor to convblessed. See "BLESSED OBJECT" for more info.

selfconvert($int)

This is an accessor to selfconvert. See "BLESSED OBJECT" for more info.

singlequote($int)

This is an accessor to singlequote. See "CONVERT WITH SINGLE QUOTES" for more info.

barekey($int)

You can set a true(integer) to parse bare keys of objects.

quotapos($int)

You can set a true(integer) to parse any keys and values quoted by single quotations.

utf8($int)

This is an accessor to utf8. You can set a true(integer) to set UTF8 flag into strings contain utf8.

JSON::PC 0.01 Screenshot

Advertisements

JSON::PC 0.01 Keywords

Bookmark JSON::PC 0.01

Hyperlink code:
Link for forum:

JSON::PC 0.01 Copyright

WareSeeker periodically updates pricing and software information of JSON::PC 0.01 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 JSON::PC 0.01 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
JSON-RPC-Java provides an RPC implementation that allows JavaScript DHTML Web applications to call remote methods. Free Download
JSON::Syck - JSON is YAML. Free Download
JSON::DWIW is a Perl module that converts Perl data structures to and from JSON. Free Download
JSON (JavaScript Object Notation) is a lightweight data-interchange format. Free Download
A simple JSON-RPC implementation for Django Free Download
Myco is a Perl module that contains the myco object framework. Free Download
mount_and open is a service menu is a port of media_realfolder and the perlscript kio_media_realfolder. Free Download
JSON::Shell is an interactive shell for performing JSON and JSON-RPC requests. Free Download