forked from pool/perl-JSON
update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON?expand=0&rev=29
This commit is contained in:
committed by
Git OBS Bridge
parent
57bb67b6d4
commit
bd26dba7d1
@@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 26 07:28:28 UTC 2013 - coolo@suse.com
|
||||
|
||||
- updated to 2.90
|
||||
|
||||
CAUTION!!!
|
||||
INCOMPATIBLE CHANGE
|
||||
|
||||
JSON.pm had patched JSON::XS::Boolean and JSON::PP::Boolean internally
|
||||
on loading time for making these modules inherit JSON::Boolean.
|
||||
But since JSON::XS v3.0 it use Types::Serialiser as boolean class.
|
||||
Then now JSON.pm breaks boolean classe overload features and
|
||||
-support_by_pp if JSON::XS v3.0 or later is installed.
|
||||
|
||||
JSON::true and JSON::false returned JSON::Boolean objects.
|
||||
For workaround, they return JSON::PP::Boolean objects in this version.
|
||||
|
||||
isa_ok(JSON::true, 'JSON::PP::Boolean');
|
||||
|
||||
And it discards a feature:
|
||||
|
||||
ok(JSON::true eq 'true');
|
||||
|
||||
In other word, JSON::PP::Boolean overload numeric only.
|
||||
|
||||
ok( JSON::true == 1 );
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 10 10:54:05 UTC 2013 - coolo@suse.com
|
||||
|
||||
|
||||
Reference in New Issue
Block a user