Re:Show HN: Verify JSON using minimal schema
by BiteCode_dev on Thursday April 16, 2020 @03:51AM
(#22887122)
Schema validation is more than type checking, and has been very well solved by libraries like marshmallow and pydantic for a long time. I don't think the comparison holds.
What's different this and Python type hints is that this was a public-facing API, so you have far less control over what data you'll see, and the server code was Java, so getting things strongly typed and validated early on makes your life easier.