Mojo::JSON_XS

If your Mojolicious code makes very heavy use of JSON, you might want to try out a binary drop-in replacement for the pure-perl module Mojo::JSON when you come to the optimisation stages of your project. Thanks to Marc Lehmann and Reini Urban we can use Cpanel::JSON::XS which is a fork of JSON::XS (implemented in C) with public bug tracking. Sebastian Riedel has provided (1, 2) the patch-in code for swapping-in the XS code, and I have simply bundled that up into this module.

DEPRECATED

This code was merged into Mojolicious v7.87, so it only makes sense to continue using this module if you are constrained to a Mojolicious earlier than that.

Note that there are known problems using this in combination with Cpanel::JSON::XS v4.06 and v4.08.

Nic Sandfield