mindplay-dk/jsonfreeze

Not working with array

Closed this issue · 1 comments

use mindplay\jsonfreeze\JsonSerializer;
$array = [ 'a', 'b' => 'b '];
$serializer = new JsonSerializer();
$serializedValue = $serializer->serialize($array);
$value = $serializer->unserialize($serializedValue);
var_dump($value); //null

Thanks for the bug-report - you can install ^0.3.2 now, which fixes this issue.