I tried to convert a string to a javascript object using JSON.parse
but it's not working.
I tried everything but did not get anything on the console.log
and there is no error message.
JSON.parse(`{'exp': '1', 'input': '1d6404f66ed3d72e', 'iterate': 'no'}`);
Update
In the real code, I'm passing the value from an object
console.log(JSON.parse(future.onIOPub.data['text/plain']))