4 ms·
A misplaced comma is also not a problem in an editor with syntax highlighting, but between the two, indentation could take longer to fix.
by krapp 8y ago
A misplaced comma is also not a problem in an editor with syntax highlighting, but between the two, indentation could take longer to fix.
- mixmastamyk 8y agoSyntax highlighting doesn't count commas. The problem is JSON doesn't allow trailing commas, so adding or reordering frequently results in a difficult to diagnose error.
- krapp 8y agoFinding out if a set ends in a comma or not still makes it easier to debug than YAML.
- mixmastamyk 8y agoNot my experience, 10x more trouble with long JSON.