summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2022-10-11 18:14:40 +0200
committergregor herrmann <gregoa@debian.org>2022-10-11 18:14:40 +0200
commitbfc1aa74d07dee067d0c833e2d21210c44c60127 (patch)
tree9200e0f8ecb9384043ff97fd6fea5039b0c74ed2
parent4271582503efe75a37eafde033247648b598d2a7 (diff)
New upstream version 4.10000
-rw-r--r--Changes3
-rw-r--r--META.json4
-rw-r--r--META.yml2
-rw-r--r--lib/JSON.pm2
-rw-r--r--lib/JSON/backportPP.pm2
-rw-r--r--lib/JSON/backportPP/Boolean.pm3
6 files changed, 10 insertions, 6 deletions
diff --git a/Changes b/Changes
index b70533f..a024925 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
Revision history for Perl extension JSON.
+4.10 2022-10-09
+ - updated backportPP with JSON::PP 4.12
+
4.09 2022-08-01
- fix a test to pass under perl with core bool support
diff --git a/META.json b/META.json
index 061c78d..e89b07d 100644
--- a/META.json
+++ b/META.json
@@ -48,6 +48,6 @@
"url" : "https://github.com/makamaka/JSON"
}
},
- "version" : "4.09",
- "x_serialization_backend" : "JSON version 4.09"
+ "version" : "4.10",
+ "x_serialization_backend" : "JSON version 4.10"
}
diff --git a/META.yml b/META.yml
index 332c0d1..91d3938 100644
--- a/META.yml
+++ b/META.yml
@@ -24,5 +24,5 @@ requires:
resources:
bugtracker: https://github.com/makamaka/JSON/issues
repository: https://github.com/makamaka/JSON
-version: '4.09'
+version: '4.10'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff --git a/lib/JSON.pm b/lib/JSON.pm
index ae1d981..d44c6b4 100644
--- a/lib/JSON.pm
+++ b/lib/JSON.pm
@@ -9,7 +9,7 @@ BEGIN { @JSON::ISA = 'Exporter' }
@JSON::EXPORT = qw(from_json to_json jsonToObj objToJson encode_json decode_json);
BEGIN {
- $JSON::VERSION = '4.09';
+ $JSON::VERSION = '4.10';
$JSON::DEBUG = 0 unless (defined $JSON::DEBUG);
$JSON::DEBUG = $ENV{ PERL_JSON_DEBUG } if exists $ENV{ PERL_JSON_DEBUG };
}
diff --git a/lib/JSON/backportPP.pm b/lib/JSON/backportPP.pm
index 7daa46f..6870697 100644
--- a/lib/JSON/backportPP.pm
+++ b/lib/JSON/backportPP.pm
@@ -15,7 +15,7 @@ use JSON::backportPP::Boolean;
use Carp ();
#use Devel::Peek;
-$JSON::backportPP::VERSION = '4.11';
+$JSON::backportPP::VERSION = '4.12';
@JSON::PP::EXPORT = qw(encode_json decode_json from_json to_json);
diff --git a/lib/JSON/backportPP/Boolean.pm b/lib/JSON/backportPP/Boolean.pm
index e08aae5..08228b1 100644
--- a/lib/JSON/backportPP/Boolean.pm
+++ b/lib/JSON/backportPP/Boolean.pm
@@ -4,6 +4,7 @@ package # This is JSON::backportPP
use strict;
require overload;
local $^W;
+overload::unimport('overload', qw(0+ ++ -- fallback));
overload::import('overload',
"0+" => sub { ${$_[0]} },
"++" => sub { $_[0] = ${$_[0]} + 1 },
@@ -11,7 +12,7 @@ overload::import('overload',
fallback => 1,
);
-$JSON::backportPP::Boolean::VERSION = '4.11';
+$JSON::backportPP::Boolean::VERSION = '4.12';
1;