Hacker News new | ask | show | jobs
by twrkit 4100 days ago
I've run into the date formatting issue that others are mentioning, and just this weekend I discovered the hard way that the V8 JSON parser does not correctly parse the following hierarchy:

object --> array --> object --> array

I must have spent a few hours trying to figure out why Angular wasn't iterating through the first array, only to discover that it was being parsed like so:

object --> object --> object --> object

2 comments

That does not seem plausible. That would break a million different things. Are you sure you're interpreting your results correctly? Do you have a test case you can share?
I couldn't repo this. What am I missing?

http://jsfiddle.net/greggman/bkfxefgL/