Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
How many valid JSON strings are there? (qntm.org)
10 points by bitslayer 5 months ago | hide | past | favorite | 1 comment


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!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: