const string = `[
{
type: "actions",
elements: [
{
type: "button",
text: {
type: "plain_text",
text: "Click Me",
emoji: true,
},
},
],
},
]`
I need to parse strings which is coming from code editor to objects.
note* I have already tried JSON.parse but its throwing error