Live data from Hacker News

How many valid JSON strings are there?

qntm.org

1–2 of 2 posts

Re: How many valid JSON strings are there?

#2
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!