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

Changes for version 4.12 - 2019-06-11

  • Make encoder independent on Math::BigInt version (#140 by Pali)
  • Rethrow error from eval_sv and eval_pv() (#138, #139 by Pali), e.g. when Math::BigInt/BigFloat fails.
  • Fix encoding Inf and NaN from PV and NV slots to JSON_TYPE_INT (#137 by Pali)
  • Fix memory corruption in sv_to_ivuv() function (#136 by Pali)
  • Add new method ->require_types (#135 by Pali)
  • Fix typed json encoder conversion from scalar's PV and NV slot to JSON_TYPE_INT (#133, #134 by Pali)
  • Fix inconsistency with warnings in typed json encoder (#131 by Pali)
  • Fix Perl 5.8.0 support (#130 by Pali)
  • Fixed minor pod typo (#129 by sheeit)
  • Document invalid recursive callbacks or overloads (#128)

Documentation

Cpanel::JSON::XS commandline utility

Modules

cPanel fork of JSON::XS, fast and correct serializing
true and false values
Type support for JSON encode

Examples