diff options
author | Nicolas R <atoomic@cpan.org> | 2019-02-14 10:30:34 -0600 |
---|---|---|
committer | Nicolas R <atoomic@cpan.org> | 2019-02-14 10:00:30 -0700 |
commit | 5eabe05513a5c4b2372fe96af04305ab920fa86a (patch) | |
tree | ffb8422b374ff78262edcb16a0c86b320f243ae5 /cpan/JSON-PP/t/006_pc_pretty.t | |
parent | 673bd1ed6f78d45de6dea7b10523c70eb32afe4e (diff) | |
download | perl-5eabe05513a5c4b2372fe96af04305ab920fa86a.tar.gz |
Update JSON-PP to CPAN version 4.00
[DELTA]
4.00 2018-12-07
- production release
3.99_01 2018-12-03
- BACKWARD INCOMPATIBILITY:
As JSON::XS 4.0 changed its policy and enabled allow_nonref
by default, JSON::PP also enabled allow_nonref by default
- implement allow_tags that was introduced by JSON::XS 3.0
- add boolean_values that was introduced by JSON::XS 4.0
- allow literal tags in strings in relaxed mode, as JSON::XS 3.02 does
- allow PERL_JSON_PP_USE_B environmental variable to restore
old number detection behavior for compatibility
- various doc updates
Diffstat (limited to 'cpan/JSON-PP/t/006_pc_pretty.t')
-rw-r--r-- | cpan/JSON-PP/t/006_pc_pretty.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpan/JSON-PP/t/006_pc_pretty.t b/cpan/JSON-PP/t/006_pc_pretty.t index 2de5c5d37c..582f882dd6 100644 --- a/cpan/JSON-PP/t/006_pc_pretty.t +++ b/cpan/JSON-PP/t/006_pc_pretty.t @@ -56,7 +56,7 @@ is($js,q|{"foo":[{"a":"b"},0,1,2]}|); $obj = {foo => "bar"}; -$pc->indent(3); # original -- $pc->indent(1); +$pc->indent(1); is($pc->encode($obj), qq|{\n "foo":"bar"\n}\n|, "nospace"); $pc->space_after(1); is($pc->encode($obj), qq|{\n "foo": "bar"\n}\n|, "after"); |