I'm new to javascript so learning how some of this stuff works.
I have a string that looks like: ["{\"name\":\"name\"}","{\"name\":\"Rick\"}"]
If I JSON.parse() that shouldn't it return an array of objects that have a property of name?
What I get is 2 elements in an array but they are just the JSON strings. They are not objects with property name. What am I missing?
[EDIT] I was calling stringify() on the object and then passing it to the array instead of just passing the object as is to the array. Then I stringify() the array. I was stringifying a stringify which caused it to put the escape characters :)
""or''respectively. I.e.'[{"name":"name"},{"name":"Rick"}]'