Name : perl-JSON-DWIW
| |
Version : 0.470.0
| Vendor : Mandriva
|
Release : 2
| Date : 2012-01-25 23:20:43
|
Group : Development/Perl
| Source RPM : perl-JSON-DWIW-0.470.0-2.src.rpm
|
Size : 0.16 MB
| |
Packager : Per Øyvind Karlsen < peroyvind_mandriva_org>
| |
Summary : Return a true or false value when
|
Description :
Other JSON modules require setting several parameters before calling the conversion methods to do what I want. This module does things by default that I think should be done when working with JSON in Perl. This module also encodes and decodes faster than JSON.pm and JSON::Syck in my benchmarks.
This means that any piece of data in Perl (assuming it\'s valid unicode) will get converted to something in JSON instead of throwing an exception. It also means that output will be strict JSON, while accepted input will be flexible, without having to set any options.
Encoding Perl objects get encoded as their underlying data structure, with the exception of Math::BigInt and Math::BigFloat, which will be output as numbers, and JSON::DWIW::Boolean, which will get output as a true or false value (see the true() and false() methods). For example, a blessed hash ref will be represented as an object in JSON, a blessed array will be represented as an array. etc. A reference to a scalar is dereferenced and represented as the scalar itself. Globs, Code refs, etc., get stringified, and undef becomes null.
|
RPM found in directory: /vol/rzm6/linux-mandriva/devel/cooker/i586/media/contrib/release |