请问下,如何优雅的实现对 post json data 的 value 校验,比如:
curl -X POST -d '{"string": "some string", "int": 987}' http://$host/$api_path
目前我是使用 flask-restful 的 reqparse 来实现, 想请教下各位有啥其他办法能做这样的事情?
|  |      1messense      2017-02-27 18:08:08 +08:00 JSON Schema | 
|      2arischow      2017-02-27 18:09:12 +08:00 via iPhone marshmallow | 
|  |      3RealLiuSha OP |