Closed as not planned
Description
Description
to get from
$array = ['foo' => "a", 'bar' => "b"];
to:
{
"foo": "a",
"bar": "b"
}
We currently need to create the following helperfunction:
function arrayToJsonObject(array $array)
{
return json_encode(json_decode(json_encode($array)));
}
Would be really cool if that wasn't necessary