Name : perl-JSON-DWIW
| |
Version : 0.400.0
| Vendor : Mandriva
|
Release : 1mdv2010.1
| Date : 2010-03-22 18:35:08
|
Group : Development/Perl
| Source RPM : perl-JSON-DWIW-0.400.0-1mdv2010.1.src.rpm
|
Size : 0.14 MB
| |
Packager : Jérôme Quelin < jquelin_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/official/2010.1/i586/media/contrib/release |