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

Changes for version 0.393 - 2019-09-01

  • [Incompatible change] No longer convert JSON::PP::Boolean objects to 1/0 when cleaning for JSON output, as they are properly converted to JSON booleans.
  • [Incompatible change] No longer handle JSON::XS::Boolean or Cpanel::JSON::XS::Boolean objects, as these are normally not produced.
  • [Bugfix] FromJSON: Fix converting JSON boolean objects. Boolean check on JSON::PP::Boolean objects only works when JSON::PP or JSON::XS etc has been loaded to provide the overloading; otherwise, all JSON::PP::Boolean objects will be converted to 1. We now compare the scalar-deref of them first so regardless of whether any of the abovmentioned moduls has been loaded.

Modules

Clean data so it is safe to output to JSON
Clean data from JSON decoder