Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > contrib-release-src > by-pkgid > c25c44e4ed0cbb03e831e4503145be13

perl-JSON-DWIW-0.400.0-1mdv2010.1.src.rpm

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.

Generated packages:

Other version of this rpm: