Changed json data type to associative
This commit is contained in:
parent
b5fc2b263b
commit
6239a01884
|
@ -23,7 +23,7 @@ class Parser {
|
||||||
},
|
},
|
||||||
"json" => function ($input) {
|
"json" => function ($input) {
|
||||||
if ($input == null) return null;
|
if ($input == null) return null;
|
||||||
$json = json_decode($input);
|
$json = json_decode($input, true);
|
||||||
return is_array($json) ? $json : null;
|
return is_array($json) ? $json : null;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue