We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b53a24 commit b29a13aCopy full SHA for b29a13a
src/json.php
@@ -7,7 +7,7 @@ function is_json($string, $return = false)
7
return false;
8
}
9
10
- $decoded = json_decode($string);
+ $decoded = json_decode($string, true);
11
if (json_last_error() != JSON_ERROR_NONE) {
12
13
0 commit comments