Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rurban committed Apr 12, 2023
1 parent fc393cf commit 14d815f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
21 changes: 11 additions & 10 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ DESCRIPTION
- common::sense is optional. When available it is not used in the
published production module, just during development and testing.

- extended testsuite, passes all http://seriot.ch/parsing_json.html
tests. In fact it is the only know JSON decoder which does so, while
also being the fastest.
- extended testsuite, passes all
http://seriot.ch/projects/parsing_json.html tests. In fact it is the
only know JSON decoder which does so, while also being the fastest.

- support many more options and methods from JSON::PP: stringify_infnan,
allow_unknown, allow_stringify, allow_barekey, encode_stringify,
Expand Down Expand Up @@ -579,9 +579,10 @@ OBJECT-ORIENTED INTERFACE
* allow_dupkeys

Allow decoding of duplicate keys in hashes. By default duplicate
keys are forbidden. See <http://seriot.ch/parsing_json.php#24>:
RFC 7159 section 4: "The names within an object should be
unique." See the "allow_dupkeys" option.
keys are forbidden. See
<http://seriot.ch/projects/parsing_json.php#24>: RFC 7159
section 4: "The names within an object should be unique." See
the "allow_dupkeys" option.

$json = $json->canonical ([$enable])
$enabled = $json->get_canonical
Expand Down Expand Up @@ -768,8 +769,8 @@ OBJECT-ORIENTED INTERFACE
JSON in Perl silently ignores duplicate names, using the last value
found.

See <http://seriot.ch/parsing_json.php#24>: RFC 7159 section 4: "The
names within an object should be unique."
See <http://seriot.ch/projects/parsing_json.php#24>: RFC 7159
section 4: "The names within an object should be unique."

$json = $json->dupkeys_as_arrayref ([$enable])
$enabled = $json->get_dupkeys_as_arrayref
Expand Down Expand Up @@ -1897,8 +1898,8 @@ INTEROP with JSON and JSON::XS and other JSON modules
(modulo bugs, but "JSON::XS" has found more bugs in the official JSON
testsuite (1) than the official JSON testsuite has found in "JSON::XS"
(0)). "Cpanel::JSON::XS" is currently the only known JSON decoder which
passes all <http://seriot.ch/parsing_json.html> tests, while being the
fastest also.
passes all <http://seriot.ch/projects/parsing_json.html> tests, while
being the fastest also.

When you have trouble decoding JSON generated by this module using other
decoders, then it is very likely that you have an encoding mismatch or
Expand Down
8 changes: 4 additions & 4 deletions XS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ B<Changes to JSON::XS>
- common::sense is optional. When available it is not used in the
published production module, just during development and testing.
- extended testsuite, passes all http://seriot.ch/parsing_json.html
- extended testsuite, passes all http://seriot.ch/projects/parsing_json.html
tests. In fact it is the only know JSON decoder which does so,
while also being the fastest.
Expand Down Expand Up @@ -670,7 +670,7 @@ L</allow_barekey> option.
=item * allow_dupkeys
Allow decoding of duplicate keys in hashes. By default duplicate keys are forbidden.
See L<http://seriot.ch/parsing_json.php#24>:
See L<http://seriot.ch/projects/parsing_json.php#24>:
RFC 7159 section 4: "The names within an object should be unique."
See the C<allow_dupkeys> option.
Expand Down Expand Up @@ -890,7 +890,7 @@ disable it, however with Perl hashes they are impossible, parsing
JSON in Perl silently ignores duplicate names, using the last value
found.
See L<http://seriot.ch/parsing_json.php#24>:
See L<http://seriot.ch/projects/parsing_json.php#24>:
RFC 7159 section 4: "The names within an object should be unique."
=item $json = $json->dupkeys_as_arrayref ([$enable])
Expand Down Expand Up @@ -2093,7 +2093,7 @@ output (modulo bugs, but C<JSON::XS> has found more bugs in the
official JSON testsuite (1) than the official JSON testsuite has found
in C<JSON::XS> (0)).
C<Cpanel::JSON::XS> is currently the only known JSON decoder which passes all
L<http://seriot.ch/parsing_json.html> tests, while being the fastest also.
L<http://seriot.ch/projects/parsing_json.html> tests, while being the fastest also.
When you have trouble decoding JSON generated by this module using other
decoders, then it is very likely that you have an encoding mismatch or the
Expand Down

0 comments on commit 14d815f

Please sign in to comment.