Comment Comment by bmuon I've been using this small library inspired by Elm/Swift decoders [1]. It works, but it's not low boilerplate.I'm gravitating towards GraphQL now because strict parsing is built into it, so there is no need for all this boilerplate.https://www.npmjs.com/package/@mojotech/json-type-validation parent bmuon 5 years ago
I'm gravitating towards GraphQL now because strict parsing is built into it, so there is no need for all this boilerplate.
https://www.npmjs.com/package/@mojotech/json-type-validation