![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Cyanic Cipher |
Hey, I need help converting a string into a dictionary. The text in question is formatted as follows:
{key:value, key2:value, key3:value}
I’ve tried JSON.parse() on it, but it returns with the error “Expected key”
I’ve also tried it on:
{key:{key:value, key2:value, key3:value}}