参考官方文档1(你懂的):http://www.django-rest-framework.org/api-guide/serializers/
参考官方文档2(你懂的):http://www.django-rest-framework.org/tutorial/1-serialization/#introduction