Changed json data type to associative

This commit is contained in:
Filip Znachor 2024-01-27 11:37:33 +01:00
parent b5fc2b263b
commit 6239a01884

View file

@ -23,7 +23,7 @@ class Parser {
},
"json" => function ($input) {
if ($input == null) return null;
$json = json_decode($input);
$json = json_decode($input, true);
return is_array($json) ? $json : null;
}
];