JSON::XS::VersionOneAndTwo

acme on 2008-02-13T13:45:45

I've just released JSON::XS::VersionOneAndTwo:

JSON::XS is by far the best JSON module on the CPAN. However, it changed its API at version 2.01. If you have to maintain code which may be run on systems with either version one or two then this is a bit of a pain. This module takes the pain away without sacrificing performance.


Thanks

Andy Grundman on 2008-02-13T15:16:51

Nice! It's just too bad those 2 extra lines of code aren't included in the stock JSON::XS. Wouldn't have been that hard. :(

Re: JSON::XS::VersionOneAndTwo

davorg on 2008-02-13T16:05:42

Leon, have you met my friend Simon?

Re: JSON::XS::VersionOneAndTwo

acme on 2008-02-13T16:16:27

It's almost like I ranted about it on #london.pm and the result was:

09:20 <@muttley> right, I've patched JSON::Any so it works out what version of
                 JSON::XS you have and DTRT
09:22 <@acme> but i've just written JSON::XS::VersionOneAndTwo
09:23 <@gellyfish> the more the merrier