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

Changes for version 4.18 - 2019-12-13

  • Add new method ->type_all_string (#156 by Pali). When type_all_string is set then encode method produce stable deterministic string types in result JSON. This can be an alternative to Cpanel::JSON::XS::Type when having deterministic output is required but string JSON types are enough for any output.
  • Move SvGETMAGIC() from encode_av() and encode_hv() to encode_sv() (#156 by Pali)
  • Add Math::BigInt and Math::BigFloat as recommended dependences (#157 by Pali and Grinnz)

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