4 ms·
Exactly 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-serializ
by ansgri 9y ago
Exactly 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.