perl-JSON-DWIW-0.470.0-4-omv2015.0.i586.rpm


Advertisement

Description

perl-JSON-DWIW - Return a true or false value when

Distribution: OpenMandriva Lx 3.0
Repository: OpenMandriva Contrib i586
Package name: perl-JSON-DWIW
Package version: 0.470.0
Package release: 4-omv2015.0
Package architecture: i586
Package type: rpm
Installed size: 140.19 KB
Download size: 52.42 KB
Official Mirror: abf-downloads.openmandriva.org
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.

Alternatives

Provides

  • DWIW.so
  • perl(JSON::DWIW) == 0.470.0
  • perl(JSON::DWIW::Boolean) == 1.400.0
  • perl(JSON::DWIW::Exporter)
  • perl-JSON-DWIW == 0.470.0-4:2015.0

    Install Howto

    1. Enable OpenMandriva Contrib repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-JSON-DWIW rpm package:
      # urpmi perl-JSON-DWIW

    Files

    • /usr/lib/perl5/vendor_perl/5.20.1/i386-linux-thread-multi/JSON/DWIW.pm
    • /usr/lib/perl5/vendor_perl/5.20.1/i386-linux-thread-multi/JSON/DWIW/Boolean.pm
    • /usr/lib/perl5/vendor_perl/5.20.1/i386-linux-thread-multi/JSON/DWIW/Changes.pm
    • /usr/lib/perl5/vendor_perl/5.20.1/i386-linux-thread-multi/auto/JSON/
    • /usr/lib/perl5/vendor_perl/5.20.1/i386-linux-thread-multi/auto/JSON/DWIW/DWIW.so
    • /usr/share/doc/perl-JSON-DWIW/README
    • /usr/share/man/man3/JSON::DWIW.3pm.xz
    • /usr/share/man/man3/JSON::DWIW::Boolean.3pm.xz
    • /usr/share/man/man3/JSON::DWIW::Changes.3pm.xz
    Advertisement
    Advertisement