Comment Comment by zardeh So, uhmm, def parse(s): return json.loads('['+re.sub('([")])\s*(["(])','\g<1>,\g<2>',re.sub('[^()\s]+','"\g<0>"',s)).replace('(','[').replace(')',']')+']') works for python, I'm assuming javascript has something equally small parent zardeh 11 years ago