I am developing a small RESTful web application in python and using JSON as interface. The application accepts JSON data and needs to validate them against a schema. The schema may be very strict or flexible depending on the request. Also, the application may need to validate user objects at a later improvement.
I have found some suggestions in stack overflow as well as at other websites. Those include
But could not find a proper comparison.
In terms of simplicity, flexibility and extend-ability, which one do you think should I choose?
Cerberus seems to be very flexible and extend-ability seems very good from their documentation and examples. But I don't know about the other libraries.
EDIT 1: For now the application's needs are pretty simple and a basic schema validation with scope for adding custom types and custom validation rules will suffice. So if all these libraries offer the basic requirements, I would go for the one that is simplest to use. Also I am open to other suggestions if any.
Hoping to find some help.