I'm saving data in local storage, but having a hard time parsing/not parsing in the appropriate places to use the object properties when I need them, or stringify them when they need to be saved.
When the console logs the following (and I'm in chrome, so the key is purple and the value is red):
Object {foo: bar}
I'm able to access the properties correctly.
When the console logs
[object Object]
I can't access the properties. If this means it's a string, why can't I parse it? If it's already an object, why can't I access its properties?
Edit
The question I should have asked is: how do I convert this string to an object with which I can access properties etc?