sealed classes could provide a bit more type safet...
# codereview
s
sealed classes could provide a bit more type safety, though, by giving you the ability to explicitly enumerate the types of JSON objects that the input strings might yield