3 ms·
What do you typically use for enforcing a schema? I've been using Good[0], however since it is meant for general data structures, users don't get line/column pr
by Varriount 9y ago
What do you typically use for enforcing a schema? I've been using Good[0], however since it is meant for general data structures, users don't get line/column printouts for invalid data.
[0] https://pypi.python.org/pypi/good/0.0.7-0 https://pypi.python.org/pypi/good/0.0.7-0
- cjhanks 9y agoI like jsonschema [1][2], primarily because it's a cross-language standard. Though, I have never used `Good` - it seems to be pretty nice if you're Python focused. [1] https://pypi.python.org/pypi/jsonschema https://pypi.python.org/pypi/jsonschema [2] http://json-schema.org/ http://json-schema.org/
- msellout 9y agoGive `destructure` a try https://github.com/selik/destructure https://github.com/selik/destructure