Skip to content

Commit

Permalink
link to error attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 3, 2014
1 parent 3f01d42 commit ad3722b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/Mojo/JSON.pm
Expand Up @@ -382,7 +382,7 @@ L<Mojo::JSON> implements the following attributes.
my $err = $json->error;
$json = $json->error('Parser error');
Parser errors.
Parser error.
=head1 METHODS
Expand All @@ -393,8 +393,7 @@ following new ones.
my $value = $json->decode($bytes);
Decode JSON to Perl value, an C<undef> return value indicates a bare C<null>
or that decoding failed.
Decode JSON to Perl value and set L</"error"> if decoding failed.
=head2 encode
Expand Down

0 comments on commit ad3722b

Please sign in to comment.