3 ms·
> you can add comments Given how many comment remover util functions I have written to make almost JSON config files proper JSON ... why could they not just ha
by rightbyte 3y ago
> you can add comments
Given how many comment remover util functions I have written to make almost JSON config files proper JSON ... why could they not just have included those in the spec.
- arp242 3y agoBecause JSON is not designed for configuration files, but for data interchange, and this makes JSON "better" for that use case (the original motivation was "people were adding comment-based pragmas to JSON files, so I removed comments", but without comments it's also easier to parse, concatenate, etc.)