View Single Post
Old 11-28-2012, 01:46 PM   PM User | #8
RickP
New Coder

 
Join Date: Nov 2012
Posts: 26
Thanks: 1
Thanked 0 Times in 0 Posts
RickP is an unknown quantity at this point
When I parse the local storage stored as array of JSON objects I don't get an array of objects, I get an array of JSON strings. Is that what I'm supposed to get or should I get an array of objects that the JSON represents?

I do notice now I have / in the JSON string where before I didn't.

When I JSON.parse the local storage for a table the result is:

[{"name":"name"},{"name":"Rick"}]

But that's just an array of JSON string values. Is that what it should do? That would mean I have to JSON.parse those too to get objects. I thought 1 JSON.parse() would do that automatically for me?
RickP is offline   Reply With Quote