Skip Menu |
 

This queue is for tickets about the JSON-Any CPAN distribution.

Report information
The Basics
Id: 31315
Status: resolved
Priority: 0/
Queue: JSON-Any

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.13
Fixed in: (no value)



Subject: JSON::XS 2.0 broke tests
Download (untitled) / with headers
text/plain 195b
On 2007-12-05 a new JSON::XS was uploaded which is incompatible with pre-2.0. See the failing tests at http://www.nntp.perl.org/group/perl.cpan.testers/2007/12/msg843299.html Hope that helps,
From: igor.sutton [...] gmail.com
Download (untitled) / with headers
text/plain 318b
Hi, On Sun Dec 09 09:23:34 2007, ANDK wrote: Show quoted text
> On 2007-12-05 a new JSON::XS was uploaded which is incompatible with > pre-2.0. See the failing tests at > > http://www.nntp.perl.org/group/perl.cpan.testers/2007/12/msg843299.html > > > Hope that helps,
Attached is a patch that seems to fix the problem. -- Igor
Download json-any-1.13.patch
text/x-diff 551b
diff -r -u JSON-Any-1.13/lib/JSON/Any.pm JSON-Any-1.13.local/lib/JSON/Any.pm --- JSON-Any-1.13/lib/JSON/Any.pm 2007-11-07 01:29:32.000000000 +0100 +++ JSON-Any-1.13.local/lib/JSON/Any.pm 2007-12-12 10:19:37.000000000 +0100 @@ -72,8 +72,8 @@ }, json_xs => { - encoder => 'to_json', - decoder => 'from_json', + encoder => 'encode_json', + decoder => 'decode_json', create_object => sub { require utf8; utf8->import();
This is fixed now in JSON::Any 1.14. Sorry for the trouble.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.