News for hackers. Stuff that matters.
Re:Show HN: Verify JSON using minimal schema by eventreduce on Thursday April 16, 2020 @05:22AM (#22887574)
Json-schema itself scales down pretty well. But the libraries for validating it do not. Even if your schema is only {}, the build size increment because of pulling in a jsonschema validator is enormous because of all these supported features.
Re:Show HN: Verify JSON using minimal schema by arethuza on Thursday April 16, 2020 @05:34AM (#22887639)
Fair enough I guess - don't think I've ever had a need to do client side JSON validation against a 'schema' so I've never had that concern.