Stories
Slash Boxes
Comments

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

JSON::Any 1.14 (Coping with JSON/JSON::XS 2.0)

Journal written by perigrin (3495) and posted by brian_d_foy on 2007.12.20 20:23   Printer-friendly

So as Ovid recently mentioned JSON (and JSON::XS) recently update themselves to support a common API. While admirable that JSON.pm will now use JSON::XS behind the scenes when possible … they both broke backwards compatability without warning or notice*.

This post however is not to bitch about spilt milk, it is to annouce that JSON::Any 1.14 is winging its way to CPAN and has 100% backwards compat with the old JSON::Any interfaces and so should “just work”. Note that currently 1.14 only supports 2.0+ of JSON/JSON::XS … if this turns out to be not enough I’ll add in the logic to detect which version of JSON is installed and do the right thing but I wanted to get something out there now.

(*) Now I did get an email after the fact stating that this was gonna happen. But this was two days after I got the first failure from cpantesters.

Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.