Skip to content

Commit 2313627

Browse files
committed
Add the same prototype as JSON::XS to decode_json
1 parent f4c7549 commit 2313627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/JSON/PP.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ sub encode_json ($) { # encode
112112
}
113113

114114

115-
sub decode_json { # decode
115+
sub decode_json ($) { # decode
116116
($JSON ||= __PACKAGE__->new->utf8)->decode(@_);
117117
}
118118

0 commit comments

Comments
 (0)