This is the string I get from an api, it is a string but not in json format, but in javascript object format, JSON.parse does not work because the key does not have double quotes "".
"{text: 1}" //string
Now I want to convert it to a javascript object that results in
{text:1} //object