I have a php string containing the serialization of a javascript object :
$string = \'{fu:\"bar\",baz:[\"bat\"]}\';
The actual string is fa
Pear Services_JSON will parse that string (tested version 1.31). But given that that is a JSON parser and that this isn't valid JSON you have no guarantee that future versions will still work.