I am getting an output which looks like this
var x = ["title: x_one", " description: 1", " value: 4"]
where x[0] returns title: x_one
Which is a string. I cant read the property of title. How would I convert it into an object so that eventually I will be able to loop through the array and read the properties such as title, description and value.
I am trying to do this through jquery
I have been looking for a solution but havent really found one. If there is any out there which I am missing I would highly appreciate if anyone else have and could point me to that
split(':')to split the value into a property name and value.