Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 92548
Status: resolved
Priority: 0/
Queue: Cpanel-JSON-XS

People
Owner: Nobody in particular
Requestors: samuel.c.kaufman [...] gmail.com
Cc:
AdminCc:

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



Subject: Interoperability fail with JSON::XS
Date: Tue, 28 Jan 2014 18:50:05 -0500
To: bug-JSON-MaybeXS [...] rt.cpan.org
From: Samuel Kaufman <samuel.c.kaufman [...] gmail.com>
Download (untitled) / with headers
text/plain 467b
use JSON::MaybeXS (); my $boolstring = '{ "is_true" : true }'; my $xs_string; { use JSON::XS (); my $json = JSON::XS->new; $xs_string = $json->decode( $boolstring ); } my $json = JSON::MaybeXS->new; $json->encode( $xs_string ); # ^ dies: encountered object '1', but neither allow_blessed nor convert_blessed settings are enabled This becomes a problem when trying to use JSON::MaybeXS for a drop in replacement without replacing JSON::XS everywhere.
Download (untitled) / with headers
text/plain 147b
This is a Cpanel::JSON::XS issue - you can do s/JSON::MaybeXS/Cpanel::JSON::XS/ to see the same error. I'm moving this ticket over to that queue.
Subject: Re: [rt.cpan.org #92548] Interoperability fail with JSON::XS
Date: Wed, 29 Jan 2014 11:45:18 -0500
To: bug-Cpanel-JSON-XS [...] rt.cpan.org
From: Samuel Kaufman <samuel.c.kaufman [...] gmail.com>
Download (untitled) / with headers
text/plain 427b
Created https://github.com/rurban/Cpanel-JSON-XS/issues/13 (preferred issue tracker) and referenced the rt ticket. On Tue, Jan 28, 2014 at 10:22 PM, Karen Etheridge via RT <bug-Cpanel-JSON-XS@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=92548 > > > This is a Cpanel::JSON::XS issue - you can do s/JSON::MaybeXS/Cpanel::JSON::XS/ to see the same error. > > I'm moving this ticket over to that queue.
From: rurban [...] x-ray.at
Download (untitled) / with headers
text/plain 184b
Good catch. We haven't thought about this issue. Will be fixed in the next release 2.3404. See https://github.com/rurban/Cpanel-JSON-XS/commit/4cdaab78577926932220a72c1eddb54c11b9e98
2.3404 uploaded -- Reini Urban


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.