5 ms·
There is also jsonschema: https://pypi.python.org/pypi/jsonschema https://pypi.python.org/pypi/jsonschema A post showing a simple use of it: Using JSON Schem
by vram22 9y ago
There is also jsonschema:
https://pypi.python.org/pypi/jsonschema https://pypi.python.org/pypi/jsonschema
A post showing a simple use of it:
Using JSON Schema with Python to validate JSON data:
https://jugad2.blogspot.in/2015/12/using-json-schema-with-python-to.html https://jugad2.blogspot.in/2015/12/using-json-schema-with-py...
- ansgri 9y agoExactly my thought about json-schema, as I use it extensively in both Python and C++ (excellent library valijson [0]). Not all Python objects are json-serializable by default, so the ideal solution (for me) would be json-schema with simple syntax for adding custom type validators. [0] https://github.com/tristanpenman/valijson https://github.com/tristanpenman/valijson
- vram22 9y agoThanks for the info.