From c77b6d02fb17b853ba7707d775c8f0f50c9f43d5 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Sun, 28 Aug 2016 00:25:33 +0900 Subject: [PATCH] fix RT-105735: [PATCH] fix expression "allow to" in documentation --- README | 2 +- lib/JSON.pm | 2 +- lib/JSON/backportPP.pm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README b/README index 640589c..21ac4c9 100644 --- a/README +++ b/README @@ -1071,7 +1071,7 @@ JSON::PP SUPPORT METHODS $json = $json->loose([$enable]) The unescaped [\x00-\x1f\x22\x2f\x5c] strings are invalid in JSON - strings and the module doesn't allow to "decode" to these (except for + strings and the module doesn't allow one to "decode" to these (except for \x2f). If $enable is true (or missing), then "decode" will accept these unescaped strings. diff --git a/lib/JSON.pm b/lib/JSON.pm index 21c1c21..31395a0 100644 --- a/lib/JSON.pm +++ b/lib/JSON.pm @@ -1718,7 +1718,7 @@ See to L about the conversion of JSON number. $json = $json->loose([$enable]) The unescaped [\x00-\x1f\x22\x2f\x5c] strings are invalid in JSON strings -and the module doesn't allow to C to these (except for \x2f). +and the module doesn't allow one to C to these (except for \x2f). If C<$enable> is true (or missing), then C will accept these unescaped strings. diff --git a/lib/JSON/backportPP.pm b/lib/JSON/backportPP.pm index 638c764..1b47a58 100644 --- a/lib/JSON/backportPP.pm +++ b/lib/JSON/backportPP.pm @@ -2446,7 +2446,7 @@ See to L about the normal conversion of JSON number. $json = $json->loose([$enable]) The unescaped [\x00-\x1f\x22\x2f\x5c] strings are invalid in JSON strings -and the module doesn't allow to C to these (except for \x2f). +and the module doesn't allow one to C to these (except for \x2f). If C<$enable> is true (or missing), then C will accept these unescaped strings.