The point about the error position is the one that saves the most time. The parser points at where it gave up, so a missing comma on the line above shows up as an error on the next key. Worth adding: JSON.parse also chokes on a BOM at the start of a file read from disk, and the error for that is fairly cryptic.
StackShortlist