How can this javascript object value that is a string be converted into an array, removing the outer quotes, leaving just the brackets? The attempt of using obj["text-font"] = obj["text-font"].split('"').join("");
was not successful.
Current
text-font: "['Open Sans Regular', 'Arial Unicode MS Regular']"
Intended
text-font: ['Open Sans Regular', 'Arial Unicode MS Regular']