Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
JSON-PP-4.03_01
Browse files Browse the repository at this point in the history
only light docs adjustments for Cpanel::JSON::XS and cperl
  • Loading branch information
rurban committed Jun 24, 2019
1 parent 7b5b7fc commit 6d04aa3
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .git-rr-cache
Submodule .git-rr-cache updated 70 files
+11,995 −0 07883595fd8590a1dfbbd09a1e047c4fb7d2905b/thisimage
+3,918 −0 08176165dbe07ea62518d5b1a2c8e746f1f13a72/thisimage
+9,981 −0 142ed08d09f2baa41defb46f3bf0df3948b16420/thisimage
+14,519 −0 15b26d0d74405333ea007acaaa4543aa12b5ae98/thisimage
+2,008 −0 16a9e379b69282e29a1cb75ea59328bdd8d48061/postimage
+2,011 −0 16a9e379b69282e29a1cb75ea59328bdd8d48061/preimage
+24,022 −0 18f925f864bb64cf44599b748ff3b497964018cc/thisimage
+5,493 −0 1ae552785c56c80505871cd24610783cde77a41f/postimage
+5,498 −0 1ae552785c56c80505871cd24610783cde77a41f/preimage
+12,007 −0 1b0ea3f4978ff339e380b67492ca4a0e12d42da7/thisimage
+588 −0 1cf47e11a0d2b9f937116583751161dfecbee0ca/thisimage
+341 −0 1f07889c20fc1cd37260d7e0516b3e67ec9f6621/postimage
+347 −0 1f07889c20fc1cd37260d7e0516b3e67ec9f6621/preimage
+12,000 −0 20673744d2c9e4ba1f645e56647c0fea323d9491/thisimage
+6,711 −0 2205b7653ad8ed11e384ad5de957c85ca609a9cd/preimage.1
+1,399 −0 24f086eab6e508ee31d532e4455c083ee40486bf/thisimage
+5,496 −0 2ad889f00023dfa33ec3bc468a9aeb62efa4abf0/postimage
+5,501 −0 2ad889f00023dfa33ec3bc468a9aeb62efa4abf0/preimage
+24,209 −0 2adbdc36271ddd2ca96c796c37acca6885201c85/thisimage
+5,500 −0 2cd064dbff91d5b7afa7aa89d59a1e25e4166a4e/postimage
+5,505 −0 2cd064dbff91d5b7afa7aa89d59a1e25e4166a4e/preimage
+385 −0 30a11ade8b0e9a6b0abae63fc26acb33fd8684b2/postimage
+1,597 −0 30a11ade8b0e9a6b0abae63fc26acb33fd8684b2/postimage.1
+390 −0 30a11ade8b0e9a6b0abae63fc26acb33fd8684b2/preimage
+1,602 −0 30a11ade8b0e9a6b0abae63fc26acb33fd8684b2/preimage.1
+5,504 −0 483934272d8f93d1cab7e9dc43f83ba86bea9465/postimage
+5,509 −0 483934272d8f93d1cab7e9dc43f83ba86bea9465/preimage
+5,493 −0 4e891eeab307834f8dc7167f44517c05c3c21ce8/postimage
+5,498 −0 4e891eeab307834f8dc7167f44517c05c3c21ce8/preimage
+12,092 −0 524b34b9054b2eb63b4957f64b8e745dda3da0ce/thisimage
+3,854 −0 57b4630c5581ae23b181d36b22e14e4172417e27/postimage
+3,859 −0 57b4630c5581ae23b181d36b22e14e4172417e27/preimage
+3,859 −0 57b4630c5581ae23b181d36b22e14e4172417e27/thisimage
+341 −0 596561e19489524ba87906179e402f06dd47581d/thisimage
+2,118 −0 59f86e5361a98c4fb1ab05f17dcac2985cb62ab7/postimage
+2,142 −0 59f86e5361a98c4fb1ab05f17dcac2985cb62ab7/preimage
+2,142 −0 59f86e5361a98c4fb1ab05f17dcac2985cb62ab7/thisimage
+155 −30 5acb1074b5c4fdfb4dbb307add74f8dd077e3ab6/thisimage
+11,899 −0 6a3a25d54557d7357d1078f0728f4a2d3a7756f9/thisimage
+5,496 −0 7e082c5ec95b3ab49dfc4e29d27542b5fd1aa1b1/postimage
+5,501 −0 7e082c5ec95b3ab49dfc4e29d27542b5fd1aa1b1/preimage
+5,501 −0 7e082c5ec95b3ab49dfc4e29d27542b5fd1aa1b1/thisimage
+2,010 −0 88458fc34192630f2060a10080309e513abfef2e/postimage
+2,013 −0 88458fc34192630f2060a10080309e513abfef2e/preimage
+11,995 −0 8c9b612967c2c2cb56feb1ba6934dbe8f2999819/thisimage
+5,496 −0 8e321a4767bdd6f0b33ef668e882e30672380d31/postimage
+5,501 −0 8e321a4767bdd6f0b33ef668e882e30672380d31/preimage
+2,012 −0 92b4594ca5e18631ac3d8d871d58657b376e1d27/postimage
+2,015 −0 92b4594ca5e18631ac3d8d871d58657b376e1d27/preimage
+11,885 −0 988b7da3975da19de1a09954ab08e85c9c338f87/thisimage
+2,356 −0 a23a917c6cee2808b0dba70a15446ff9ba10a2b5/postimage
+2,360 −0 a23a917c6cee2808b0dba70a15446ff9ba10a2b5/preimage
+2,902 −0 a7c06a7139692c15556afb13d3df22a5503ffd68/thisimage
+2,486 −0 af0155d4203b778f5b43dcf7104422f12e043b36/thisimage
+5,496 −0 b08612c30ac1e32da78a432f7c979aeaadb16d92/postimage
+5,501 −0 b08612c30ac1e32da78a432f7c979aeaadb16d92/preimage
+155 −22 b5a30dbbe0bfc17234a43ca5b4f221abbd1f2870/thisimage
+5,504 −0 c278c8f36a6d8157a71159489a3b62d68304124b/postimage
+5,509 −0 c278c8f36a6d8157a71159489a3b62d68304124b/preimage
+11,903 −0 c6f2611abb79f1e69cb0653a6a30cfcbc4645c73/thisimage
+2,529 −0 c71a988e49eaa53723442eb3edd78705866a55a3/thisimage
+2,486 −0 cc130dfb4c052154fb52e69312394366f637ec42/thisimage
+2,508 −0 cf3920d5fa9b69338cd5539801340b9e8490f616/thisimage
+2,008 −0 cf3f5f2a4b67b7f519c4b8ac01968b0ad0ed6c4e/postimage
+2,012 −0 cf3f5f2a4b67b7f519c4b8ac01968b0ad0ed6c4e/preimage
+5,495 −0 d7c988879e001e67f6c0c2642d6aca8303405778/postimage
+5,500 −0 d7c988879e001e67f6c0c2642d6aca8303405778/preimage
+371 −0 f10239ce3109b1e3b2e1d8d3a6bef9f6c63cece5/postimage
+377 −0 f10239ce3109b1e3b2e1d8d3a6bef9f6c63cece5/preimage
+11,998 −0 f5e0b8d6664be472d067740e176ac7ad38ebc259/thisimage
6 changes: 3 additions & 3 deletions Porting/Maintainers.pl
Original file line number Diff line number Diff line change
Expand Up @@ -914,10 +914,10 @@ package Maintainers;
},

'JSON::PP' => {
'DISTRIBUTION' => 'MAKAMAKA/JSON-PP-4.02.tar.gz',
'DISTRIBUTION' => 'MAKAMAKA/JSON-PP-4.03.tar.gz',
'FILES' => q[cpan/JSON-PP],
# fallback to Cpanel::JSON::XS, fixed Boolean
#'CUSTOMIZED' => [ qw( lib/JSON/PP.pm lib/JSON/PP/Boolean.pm )],
# doc only
#'CUSTOMIZED' => [ qw( lib/JSON/PP.pm )],
},

'lib' => {
Expand Down
17 changes: 14 additions & 3 deletions cpan/JSON-PP/bin/json_pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
BEGIN { pop @INC if $INC[-1] eq '.' }
use strict;
use Getopt::Long;
use Encode ();

use JSON::PP ();

Expand Down Expand Up @@ -42,10 +43,17 @@ for my $opt (split /,/, $json_opt) {
my %F = (
'json' => sub {
my $json = JSON::PP->new;
my $enc =
/^\x00\x00\x00/s ? "utf-32be"
: /^\x00.\x00/s ? "utf-16be"
: /^.\x00\x00\x00/s ? "utf-32le"
: /^.\x00.\x00/s ? "utf-16le"
: "utf-8";
for my $key (keys %json_opt) {
next if $key eq 'utf8';
$json->$key($json_opt{$key});
}
$json->decode( $_ );
$json->decode( Encode::decode($enc, $_) );
},
'eval' => sub {
my $v = eval "no strict;\n#line 1 \"input\"\n$_";
Expand Down Expand Up @@ -84,8 +92,11 @@ $F{$opt_from}
$T{$opt_to}
or die "$opt_from: not a valid toformat\n";

local $/;
$_ = <STDIN>;
{
local $/;
binmode STDIN;
$_ = <STDIN>;
}

$_ = $F{$opt_from}->();
$_ = $T{$opt_to}->();
Expand Down
10 changes: 5 additions & 5 deletions cpan/JSON-PP/lib/JSON/PP.pm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use JSON::PP::Boolean;
use Carp ();
#use Devel::Peek;

$JSON::PP::VERSION = '4.02_01';
$JSON::PP::VERSION = '4.03_01';

@JSON::PP::EXPORT = qw(encode_json decode_json from_json to_json);

Expand Down Expand Up @@ -1773,14 +1773,14 @@ JSON::PP - JSON::XS compatible pure-Perl module.
=head1 VERSION
4.02
4.03_01
=head1 DESCRIPTION
JSON::PP is a pure perl JSON decoder/encoder, and (almost) compatible
to much faster L<JSON::XS> written by Marc Lehmann in C. JSON::PP
works as a fallback module when you use L<JSON> module without having
installed JSON::XS.
to L<JSON>, L<JSON::XS> and L<Cpanel::JSON::XS>. JSON::PP works as a
fallback module when you use L<JSON> module without having installed
JSON::XS or Cpanel::JSON::XS.
Because of this fallback feature of JSON.pm, JSON::PP tries not to
be more JavaScript-friendly than JSON::XS (i.e. not to escape extra
Expand Down
2 changes: 1 addition & 1 deletion cpan/JSON-PP/lib/JSON/PP/Boolean.pm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ overload::import('overload',
fallback => 1,
);

$JSON::PP::Boolean::VERSION = '4.02_01';
$JSON::PP::Boolean::VERSION = '4.03';

1;

Expand Down
2 changes: 1 addition & 1 deletion dist/Module-CoreList/lib/Module/CoreList.pm
Original file line number Diff line number Diff line change
Expand Up @@ -18971,7 +18971,7 @@ our %delta :const = (
'IO::Uncompress::Inflate'=> '2.086',
'IO::Uncompress::RawInflate'=> '2.086',
'IO::Uncompress::Unzip' => '2.086',
'JSON::PP' => '4.02_01',
'JSON::PP' => '4.03_01',
'Math::BigFloat' => '1.999816',
'Math::BigInt' => '1.999816',
'Math::BigInt::Calc' => '1.999816',
Expand Down
2 changes: 1 addition & 1 deletion pod/perlcdelta.pod
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ L<[cpan #105700]|https://rt.cpan.org/Ticket/Display.html?id=1105700>

probe for more external gzips, make t/external.t strict safe.

=item L<JSON::PP> 4.02_01
=item L<JSON::PP> 4.03_01

Upstream + Keep some of our cperl-specific docs

Expand Down

0 comments on commit 6d04aa3

Please sign in to comment.