Is it possible using JavaScript to convert a string like this:
"Product : Bike , 2005 : $12000,2006 : $13000,2007 : $14000,2008 : $15000"
to a JSON object like this:
{
"Product":"Bike",
"2005" : $12000,
"2006" : $13000,
"2007" : $14000,
"2008" : $15000
}