how to convert array as string into javascript array

Viewed 32

i have a json api return string like this how to convert this string to javascript

{
 value:"[['dubai (None : None : city)', 0.0], ['(alex : NOS95H : Gender)', 123.89], ['sea (None : None : None)', 0.0], ['paint (None : None : Product)', 0.0]]"
}

i tried JSON.parse(obj.value) but getting error

0 Answers
Related