Not working with array
Closed this issue · 1 comments
avz-cmf commented
use mindplay\jsonfreeze\JsonSerializer;
$array = [ 'a', 'b' => 'b '];
$serializer = new JsonSerializer();
$serializedValue = $serializer->serialize($array);
$value = $serializer->unserialize($serializedValue);
var_dump($value); //null
mindplay-dk commented
Thanks for the bug-report - you can install ^0.3.2
now, which fixes this issue.