• that .replace won't work with string values like {a:"Hello",b:2};

    as for converting - quick and dirty may be eval('('+data+')')

About

Avatar for fanoush @fanoush started