I need to store chart configuration in DB calling API. Next time I get that config as a string from DB and I need to convert it to object type.
For some reason data conversion does not work, and I'm confused why.
The result in console is this:
But actually, result should be like this:
Does someone know some trick on how to convert string to type?