请问下,如何优雅的实现对 post json data 的 value 校验,比如:
curl -X POST -d '{"string": "some string", "int": 987}' http://$host/$api_path
目前我是使用 flask-restful 的 reqparse 来实现, 想请教下各位有啥其他办法能做这样的事情?
flask-restful
reqparse