Skip Menu |

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

Report information
The Basics
Id: 31783
Status: resolved
Priority: 0/
Queue: Test-JSON

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

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: a patch for JSON new version
I send a patch for the new JSON version. As I understand your anger, if you have not deserted it yet and this patch helps you more or less, I shall be relieved.
Subject: diff.txt
7a8 > BEGIN { $ENV{PERL_JSON_BACKEND} = 'JSON::PP'; } 23c24 < my $JSON = JSON->new( --- > my $JSON = JSON->VERSION < 2 ? JSON->new( 26c27 < ); --- > ) : JSON->new->pretty->indent_length(2);
On Thu Dec 20 21:48:09 2007, MAKAMAKA wrote: Show quoted text
> I send a patch for the new JSON version. > > As I understand your anger, if you have not deserted it yet > and this patch helps you more or less, I shall be relieved.
Hi there, I am marking this as 'resolved' as I've applied your patch (well, I tweaked it a bit) and uploaded as version 0.03. Thanks for your help. Cheers, Ovid