Comment

Comment by MathMonkeyMan

It's true that Douglas Crockford is not my dad. My dad is a different person entirely.

It's a bad idea to write JSON parsers that can accept comments. Comments are not part of JSON.

There are plenty of extensions to JSON, and they have parsers. Use them. Or, use a language that is already an extension to JSON, like JavaScript or YAML.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton