3 ms·
For Python there's Marshmallow (https://github.com/marshmallow-code/marshmallow https://github.com/marshmallow-code/marshmallow) and Django REST Framework if yo
by aldarn 8y ago
For Python there's Marshmallow (https://github.com/marshmallow-code/marshmallow https://github.com/marshmallow-code/marshmallow) and Django REST Framework if you're using Django (http://www.django-rest-framework.org/api-guide/serializers/ http://www.django-rest-framework.org/api-guide/serializers/). Both of these work as you described.