News for hackers. Stuff that matters.
Re:JSON Schema by deathanatos on Sunday February 18, 2018 @06:09PM (#16409440)
I agree wholeheartedly (I have so many use cases for a sum type!), but I think that opportunity was lost when JSON itself was created; JSON-schema, built on top of JSON, would have to make some assumptions about how to map any sum type onto JSON, since JSON doesn't natively support them. JSON-schema — reasonably, I think — doesn't.

There are no comments on this comment yet.