Skip to content

How many valid JSON strings are there?

qntm.org
10 pointsbitslayer1 comment
On HN

Comments

I guess (?) you could write a function to check, for a given string, if it was included in your enumeration.

Then, it would be cool to fuzz a JSON parser and whenever the fuzzer encounters a string that the parser accepts, check if it's enumerated.

I bet this would find some cool corner cases!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.