Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The library contains iterator functions that can be used to recursively traverse a message from the root and discover the entire structure. Then every value can be checked for defined constraints appropriately while at the same time validating the traversal paths. Also a schema description format is needed, perhaps something like JSONSchema can be used.

Doing this by definition requires processing an entire message which can be a little slow, so it is best done in C and exposed through CPython bindings / CFFI.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: