|By:||Choroba from Prague.pm|
|Date:||Not scheduled yet.|
Strongly typed languages differentiate strings and numbers much more than Perl. When sending JSON to a client written in such a language, it's easy to break the contract by just inspecting one of the values, or by upgrading Perl itself.
Cpanel::JSON::XS::Type to the rescue! I'll explain its motivation, show usage and possible traps, describe the implementation, and discuss related problems in other modules.