The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

JSON::Create::PP - Pure-Perl version of JSON::Create

DESCRIPTION

This is a reference and backup module for JSON::Create. It is meant to do exactly the same things as JSON::Create, but there are a few discrepancies, which should be treated as bugs.

DEPENDENCIES

B
Carp

This uses Carp to report errors.

Scalar::Util

Scalar::Util is used to distinguish strings from numbers, detect objects, and break encapsulation.

Unicode::UTF8

This is used to do the validation of UTF-8.

BUGS

Floating point printing cannot be made to work like the XS version.

The XS version tests for NV or IV directly, but it is next to impossible to get this information from Perl without XS.

TESTING

To test this module, do

    make
    JSONCreatePP=1 make test