I have json data represented like this
{key:\"value\"}
(no quotes arround key...)
I want to translate it to an associative array.>
$results = \Symfony\Component\Yaml\Yaml::parse("{a: d, b: 'c', e: [a, 3]}");
You probably can only use that lib without having to use the whole Symfony package : https://packagist.org/packages/symfony/yaml